diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/debian/0001-build.patch | 19 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch new file mode 100644 index 0000000..b3a4393 --- /dev/null +++ b/debian/patches/debian/0001-build.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Avoid overwriting build-environment. + +diff -Naurp pdlzip.orig/configure pdlzip/configure +--- pdlzip.orig/configure ++++ pdlzip/configure +@@ -21,9 +21,9 @@ datarootdir='$(prefix)/share' + infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' + CC=gcc +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CPPFLAGS= ++#CFLAGS='-Wall -W -O2' ++#LDFLAGS= + + # checking whether we are using GNU C. + /bin/sh -c "${CC} --version" > /dev/null 2>&1 || { CC=cc ; CFLAGS=-O2 ; } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..655df63 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian/0001-build.patch |