summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/debian/0001-build.patch20
-rw-r--r--debian/patches/series1
2 files changed, 21 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..3fa2f01
--- /dev/null
+++ b/debian/patches/debian/0001-build.patch
@@ -0,0 +1,20 @@
+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
+@@ -21,10 +21,10 @@ bindir='$(exec_prefix)/bin'
+ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+-CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CXX=g++
++#CPPFLAGS=
++#CXXFLAGS='-Wall -W -O2'
++#LDFLAGS=
+ LIBS='-llz -lpthread'
+ MAKEINFO=makeinfo
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