summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:26:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:26:44 +0000
commit97eb066333ce4fae8af607937142ec74a2d95303 (patch)
tree13d0b774fd071106f5bbcebfcb60ca55791b36d3 /debian/patches
parentAdding upstream version 1.10. (diff)
downloadplzip-97eb066333ce4fae8af607937142ec74a2d95303.tar.xz
plzip-97eb066333ce4fae8af607937142ec74a2d95303.zip
Adding debian version 1.10-5.debian/1.10-5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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..b0f015c
--- /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 plzip.orig/configure plzip/configure
+--- plzip.orig/configure
++++ plzip/configure
+@@ -22,9 +22,9 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CXXFLAGS='-Wall -W -O2'
++#LDFLAGS=
+ LIBS='-llz -lpthread'
+
+ # checking whether we are using GNU C++.
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