Port to new build system, and adjust things to give the same output. * 0030-fix-prefix-and-install-dir.patch: fixups for the new build system * 0031-use-packaged-lempar.c.patch: patch from debian for the same thing we did * 0002-sqlite3.32.3-Makefile.in-fix-rule-compiling-rbu.exe.patch: adjusted for the new build system All other patches should no longer be needed. Drop extensions that don't build for now.
19 lines
545 B
Diff
19 lines
545 B
Diff
Description: use packaged lempar.c
|
|
Look for lempar.c under the package directory.
|
|
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
|
|
Last-Update: 2023-09-04
|
|
|
|
---
|
|
|
|
--- a/tool/lemon.c
|
|
+++ b/tool/lemon.c
|
|
@@ -3686,6 +3686,8 @@ PRIVATE FILE *tplt_open(struct lemon *le
|
|
tpltname = buf;
|
|
}else if( access(templatename,004)==0 ){
|
|
tpltname = templatename;
|
|
+ }else if( access("/usr/share/lemon/lempar.c",004)==0 ){
|
|
+ tpltname = "/usr/share/lemon/lempar.c";
|
|
}else{
|
|
toFree = tpltname = pathsearch(lemp->argv[0],templatename,0);
|
|
}
|