diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/debian/0001-build.patch | 21 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 22 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..7d750a4 --- /dev/null +++ b/debian/patches/debian/0001-build.patch @@ -0,0 +1,21 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Avoid overwriting build-environment. + +diff -Naurp lzip.orig/configure lzip/configure +--- lzip.orig/configure ++++ lzip/configure +@@ -23,10 +23,10 @@ mandir='$(datarootdir)/man' + build=no + check=no + installdir= +-CXX=g++ +-CPPFLAGS= +-CXXFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CXX=g++ ++#CPPFLAGS= ++#CXXFLAGS='-Wall -W -O2' ++#LDFLAGS= + + # checking whether we are using GNU C++. + /bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..655df63 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian/0001-build.patch |