summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-build.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 14:10:19 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 14:10:19 +0000
commit7b7779c9c3406f9d3cc037c4373e38cd14f26704 (patch)
tree8b3353dfce805dc651ab191f01e518bc8b3ec5dd /debian/patches/0001-build.patch
parentMerging upstream version 1.2. (diff)
downloadlunzip-7b7779c9c3406f9d3cc037c4373e38cd14f26704.tar.xz
lunzip-7b7779c9c3406f9d3cc037c4373e38cd14f26704.zip
Adding debian version 1.2-1.debian/1.2-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..a3a630b
--- /dev/null
+++ b/debian/patches/0001-build.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
+Description: Avoid overwriting build-environment.
+
+diff -Naurp lunzip.orig/configure lunzip/configure
+--- lunzip.orig/configure
++++ lunzip/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 ] &&