summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-build.patch')
-rw-r--r--debian/patches/0001-build.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch
new file mode 100644
index 0000000..4f4183e
--- /dev/null
+++ b/debian/patches/0001-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp zutils.orig/configure zutils/configure
+--- zutils.orig/configure
++++ zutils/configure
+@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CXXFLAGS='-Wall -W -O2'
++#LDFLAGS=
+ DIFF=diff
+ GREP=grep
+