summaryrefslogtreecommitdiffstats
path: root/debian/patches/01-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/01-build.patch')
-rw-r--r--debian/patches/01-build.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/01-build.patch b/debian/patches/01-build.patch
new file mode 100644
index 0000000..ec6897e
--- /dev/null
+++ b/debian/patches/01-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp plzip.orig/configure plzip/configure
+--- plzip.orig/configure 2012-06-27 16:06:34.898944777 +0200
++++ plzip/configure 2012-06-30 12:47:21.829197850 +0200
+@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ CXX=
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CXXFLAGS='-Wall -W -O2'
++#LDFLAGS=
+
+ # Loop over all args
+ while [ -n "$1" ] ; do