summaryrefslogtreecommitdiffstats
path: root/debian/patches/02-use-packaged-lempar.c.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:28:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:28:21 +0000
commite9e9beec90b65fa7ee5789a3d1d0a1d5bed49366 (patch)
treeb872f441f9205ec27df3fc6d8790f3c1e441d869 /debian/patches/02-use-packaged-lempar.c.patch
parentAdding upstream version 3.40.1. (diff)
downloadsqlite3-e9e9beec90b65fa7ee5789a3d1d0a1d5bed49366.tar.xz
sqlite3-e9e9beec90b65fa7ee5789a3d1d0a1d5bed49366.zip
Adding debian version 3.40.1-2.debian/3.40.1-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/02-use-packaged-lempar.c.patch')
-rw-r--r--debian/patches/02-use-packaged-lempar.c.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/02-use-packaged-lempar.c.patch b/debian/patches/02-use-packaged-lempar.c.patch
new file mode 100644
index 0000000..273d359
--- /dev/null
+++ b/debian/patches/02-use-packaged-lempar.c.patch
@@ -0,0 +1,18 @@
+Description: use packaged lempar.c
+ Look for lempar.c under the package directory.
+Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Last-Update: 2020-12-04
+
+---
+
+--- a/tool/lemon.c
++++ b/tool/lemon.c
+@@ -3673,6 +3673,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->argv0,templatename,0);
+ }