summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:25:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:25:07 +0000
commit33e844193c829dbd3f6098f024ec6fdddc2271c2 (patch)
tree660360b3a46ab33b3accda190c6c1ed12bf3412e /debian/patches
parentAdding upstream version 1.3. (diff)
downloadlzd-33e844193c829dbd3f6098f024ec6fdddc2271c2.tar.xz
lzd-33e844193c829dbd3f6098f024ec6fdddc2271c2.zip
Adding debian version 1.3-2.debian/1.3-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/debian/0001-build.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch
new file mode 100644
index 0000000..f872f36
--- /dev/null
+++ b/debian/patches/debian/0001-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp lzd.orig/configure lzd/configure
+--- lzd.orig/configure
++++ lzd/configure
+@@ -21,9 +21,9 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CXXFLAGS='-Wall -W -O2'
++#LDFLAGS=
+
+ # checking whether we are using GNU C++.
+ /bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..655df63
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian/0001-build.patch