From 71b1d40fa3a1e16ac8bb6ccc19957206dd13ea9e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 23 Jan 2024 06:50:48 +0100 Subject: Adding patch to avoid overriding build-environment. Signed-off-by: Daniel Baumann --- debian/patches/debian/0001-build.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 22 insertions(+) create mode 100644 debian/patches/debian/0001-build.patch create mode 100644 debian/patches/series diff --git a/debian/patches/debian/0001-build.patch b/debian/patches/debian/0001-build.patch new file mode 100644 index 0000000..2033f45 --- /dev/null +++ b/debian/patches/debian/0001-build.patch @@ -0,0 +1,21 @@ +Author: Daniel Baumann +Description: Avoid overwriting build-environment. + +diff -Naurp xlunzip.orig/configure xlunzip/configure +--- xlunzip.orig/configure ++++ xlunzip/configure +@@ -20,10 +20,10 @@ bindir='$(exec_prefix)/bin' + datarootdir='$(prefix)/share' + infodir='$(datarootdir)/info' + mandir='$(datarootdir)/man' +-CC=gcc +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-LDFLAGS= ++#CC=gcc ++#CPPFLAGS= ++#CFLAGS='-Wall -W -O2' ++#LDFLAGS= + MAKEINFO=makeinfo + + # checking whether we are using GNU C. 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 -- cgit v1.2.3