summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-build.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2017-01-02 09:36:33 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2017-01-02 09:36:33 +0000
commitda02f2c113caa8e9db07bf2d73c6efe4ff45922c (patch)
treea0d9324aee18e1874ae11aed9288654016c22e38 /debian/patches/debian/0001-build.patch
parentUpdating year in copyright information for 2017. (diff)
downloadplzip-da02f2c113caa8e9db07bf2d73c6efe4ff45922c.tar.xz
plzip-da02f2c113caa8e9db07bf2d73c6efe4ff45922c.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.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..a99fce8
--- /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 plzip.orig/configure plzip/configure
+--- plzip.orig/configure
++++ plzip/configure
+@@ -21,9 +21,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 /bin/sh -c "${CXX} --version" > /dev/null 2>&1 ; then true