summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/0001-build.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch
index 45e323c..3664dc5 100644
--- a/debian/patches/0001-build.patch
+++ b/debian/patches/0001-build.patch
@@ -4,7 +4,7 @@ Description: Avoid overwriting build-environment.
diff -Naurp lzlib.orig/configure lzlib/configure
--- lzlib.orig/configure
+++ lzlib/configure
-@@ -26,9 +26,9 @@ infodir='$(datarootdir)/info'
+@@ -29,9 +29,9 @@ infodir='$(datarootdir)/info'
libdir='$(exec_prefix)/lib'
mandir='$(datarootdir)/man'
CC=gcc
@@ -16,4 +16,4 @@ diff -Naurp lzlib.orig/configure lzlib/configure
+#LDFLAGS=
# checking whether we are using GNU C.
- ${CC} --version > /dev/null 2>&1
+ if /bin/sh -c "${CC} --version" > /dev/null 2>&1 ; then true