From 7b25ff9ce16e776c23bd0ee72f6c1a7bdf981cb8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Feb 2025 19:15:30 +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..f1eb301 --- /dev/null +++ b/debian/patches/01-build.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp pdlzip.orig/configure pdlzip/configure +--- pdlzip.orig/configure 2012-06-27 16:06:20.050801430 +0200 ++++ pdlzip/configure 2012-06-30 05:22:30.357871278 +0200 +@@ -24,9 +24,9 @@ infodir='$(datadir)/info' + mandir='$(datadir)/man' + sysconfdir='$(prefix)/etc' + CC= +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CPPFLAGS= ++#CFLAGS='-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