diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch index 7a358f3..45e323c 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 -@@ -28,9 +28,9 @@ infodir='$(datarootdir)/info' +@@ -26,9 +26,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. - if [ ! -x /bin/gcc ] && + ${CC} --version > /dev/null 2>&1