From 13dc27701a419dbebb55bf097c8ec6a0c6855d72 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Feb 2025 05:42:18 +0100 Subject: [PATCH] Adding patch to avoid overwriting build environment. Signed-off-by: Daniel Baumann --- debian/patches/0001-build.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/0001-build.patch create mode 100644 debian/patches/series diff --git a/debian/patches/0001-build.patch b/debian/patches/0001-build.patch new file mode 100644 index 0000000..4f4183e --- /dev/null +++ b/debian/patches/0001-build.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp zutils.orig/configure zutils/configure +--- zutils.orig/configure ++++ zutils/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= + DIFF=diff + GREP=grep + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..58cf314 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-build.patch