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..0a190ad
--- /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 lzip.orig/configure lzip/configure
+--- lzip.orig/configure 2012-06-30 00:54:43.926501688 +0200
++++ lzip/configure 2012-06-30 00:55:57.423296881 +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