summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2017-01-02 09:36:22 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2017-01-02 09:36:22 +0000
commit4b7e2571cf83761866bdc2d590601039e3fdd5e8 (patch)
treeaa1b580ba8496eee6c4e4926742adfcd23efe2cd /debian/patches/debian
parentUpdating year in copyright information for 2017. (diff)
downloadpdlzip-4b7e2571cf83761866bdc2d590601039e3fdd5e8.tar.xz
pdlzip-4b7e2571cf83761866bdc2d590601039e3fdd5e8.zip
Moving debian specific patches to subdirectory within patches directory.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'debian/patches/debian')
-rw-r--r--debian/patches/debian/0001-build.patch19
1 files changed, 19 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..08561f8
--- /dev/null
+++ b/debian/patches/debian/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
+@@ -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.
+ if /bin/sh -c "${CC} --version" > /dev/null 2>&1 ; then true