summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-build.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:46:41 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:46:41 +0000
commitab7779640d71d7925967cf357318819d1c064386 (patch)
tree88154625c96e5e4e389d228a016a72a4b50f57a0 /debian/patches/0001-build.patch
parentMerging upstream version 1.4~rc1. (diff)
downloadpdlzip-ab7779640d71d7925967cf357318819d1c064386.tar.xz
pdlzip-ab7779640d71d7925967cf357318819d1c064386.zip
Adding debian version 1.4~rc1-1.debian/1.4_rc1-1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'debian/patches/0001-build.patch')
-rw-r--r--debian/patches/0001-build.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch
new file mode 100644
index 0000000..64b6720
--- /dev/null
+++ b/debian/patches/0001-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp pdlzip.orig/configure pdlzip/configure
+--- pdlzip.orig/configure
++++ pdlzip/configure
+@@ -23,9 +23,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.
+ if [ ! -x /bin/gcc ] &&