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.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/01-build.patch b/debian/patches/01-build.patch
index 0a190ad..6a72e92 100644
--- a/debian/patches/01-build.patch
+++ b/debian/patches/01-build.patch
@@ -2,12 +2,12 @@ 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
+--- lzip.orig/configure 2013-03-10 21:00:48.821653006 +0100
++++ lzip/configure 2013-03-10 21:05:18.874824341 +0100
@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
- CXX=
+ CXX=g++
-CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
-LDFLAGS=
@@ -15,5 +15,5 @@ diff -Naurp lzip.orig/configure lzip/configure
+#CXXFLAGS='-Wall -W -O2'
+#LDFLAGS=
- # Loop over all args
- while [ -n "$1" ] ; do
+ # checking whether we are using GNU C++.
+ if [ ! -x /bin/g++ ] &&