diff --git a/debian/patches/01-build.patch b/debian/patches/01-build.patch new file mode 100644 index 0000000..f1eb301 --- /dev/null +++ b/debian/patches/01-build.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp pdlzip.orig/configure pdlzip/configure +--- pdlzip.orig/configure 2012-06-27 16:06:20.050801430 +0200 ++++ pdlzip/configure 2012-06-30 05:22:30.357871278 +0200 +@@ -24,9 +24,9 @@ infodir='$(datadir)/info' + mandir='$(datadir)/man' + sysconfdir='$(prefix)/etc' + CC= +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CPPFLAGS= ++#CFLAGS='-Wall -W -O2' ++#LDFLAGS= + + # Loop over all args + while [ -n "$1" ] ; do diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..605653d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01-build.patch