From 8b7fa2c46b4a412be57b37bbe13468b0fc3e2904 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 21 Feb 2025 10:14:57 +0100 Subject: [PATCH] Adding patch to avoid overwriting build-environment. Signed-off-by: Daniel Baumann --- debian/patches/01-build.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/01-build.patch create mode 100644 debian/patches/series diff --git a/debian/patches/01-build.patch b/debian/patches/01-build.patch new file mode 100644 index 0000000..0a190ad --- /dev/null +++ b/debian/patches/01-build.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp lzip.orig/configure lzip/configure +--- lzip.orig/configure 2012-06-30 00:54:43.926501688 +0200 ++++ lzip/configure 2012-06-30 00:55:57.423296881 +0200 +@@ -23,9 +23,9 @@ datarootdir='$(prefix)/share' + infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' + CXX= +-CPPFLAGS= +-CXXFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CPPFLAGS= ++#CXXFLAGS='-Wall -W -O2' ++#LDFLAGS= + + # Loop over all args + while [ -n "$1" ] ; do diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..605653d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01-build.patch