summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-build.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2017-01-02 09:34:11 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2017-01-02 09:34:11 +0000
commita61bb3c85542b5288baf051dee1e4a5070c5b805 (patch)
treee63c728aaa8ebf0ce5f224e1ede391bf58e55d69 /debian/patches/debian/0001-build.patch
parentUpdating year in copyright information for 2017. (diff)
downloadclzip-a61bb3c85542b5288baf051dee1e4a5070c5b805.tar.xz
clzip-a61bb3c85542b5288baf051dee1e4a5070c5b805.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/0001-build.patch')
-rw-r--r--debian/patches/debian/0001-build.patch21
1 files changed, 21 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..592bcbe
--- /dev/null
+++ b/debian/patches/debian/0001-build.patch
@@ -0,0 +1,21 @@
+Author: Daniel Baumann <mail@daniel-baumann.ch>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp clzip.orig/configure clzip/configure
+--- clzip.orig/configure
++++ clzip/configure
+@@ -20,10 +20,10 @@ bindir='$(exec_prefix)/bin'
+ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+-CC=gcc
+-CPPFLAGS=
+-CFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CC=gcc
++#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