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 19aad72..35b0bad 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 clzip.orig/configure clzip/configure
---- clzip.orig/configure 2012-06-27 16:02:18.168455662 +0200
-+++ clzip/configure 2012-06-29 04:37:06.563567740 +0200
+--- clzip.orig/configure 2013-03-10 19:46:39.318088595 +0100
++++ clzip/configure 2013-03-10 19:53:13.550359823 +0100
@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
- CC=
+ CC=gcc
-CPPFLAGS=
-CFLAGS='-Wall -W -O2'
-LDFLAGS=
@@ -15,5 +15,5 @@ diff -Naurp clzip.orig/configure clzip/configure
+#CFLAGS='-Wall -W -O2'
+#LDFLAGS=
- # Loop over all args
- while [ -n "$1" ] ; do
+ # checking whether we are using GNU C.
+ if [ ! -x /bin/gcc ] &&