From 2516f422e57c8e4775d96679c127c794c14d50d2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Feb 2025 19:16:26 +0100 Subject: [PATCH] Refreshing build.patch. Signed-off-by: Daniel Baumann --- debian/patches/0001-build.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch index 0e9526c..64b6720 100644 --- a/debian/patches/0001-build.patch +++ b/debian/patches/0001-build.patch @@ -4,10 +4,10 @@ Description: Avoid overwriting build-environment. diff -Naurp pdlzip.orig/configure pdlzip/configure --- pdlzip.orig/configure +++ pdlzip/configure -@@ -24,9 +24,9 @@ infodir='$(datadir)/info' - mandir='$(datadir)/man' - sysconfdir='$(prefix)/etc' - CC= +@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share' + infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' + CC=gcc -CPPFLAGS= -CFLAGS='-Wall -W -O2' -LDFLAGS= @@ -15,5 +15,5 @@ diff -Naurp pdlzip.orig/configure pdlzip/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 ] &&