summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-build.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 09:57:10 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 09:57:10 +0000
commit58ed1616832cb82e3a4b2c9998d96e3de1b2b525 (patch)
treef4e89e1c9a49fb02392486d787ee2b181f288bbf /debian/patches/0001-build.patch
parentMerging upstream version 1.15~pre1. (diff)
downloadlzip-58ed1616832cb82e3a4b2c9998d96e3de1b2b525.tar.xz
lzip-58ed1616832cb82e3a4b2c9998d96e3de1b2b525.zip
Adding debian version 1.15~pre1-1.debian/1.15_pre1-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..ceb9848
--- /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 lzip.orig/configure lzip/configure
+--- lzip.orig/configure
++++ lzip/configure
+@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
++#CPPFLAGS=
++#CXXFLAGS='-Wall -W -O2'
++#LDFLAGS=
+
+ # checking whether we are using GNU C++.
+ if [ ! -x /bin/g++ ] &&