summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:24:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:24:06 +0000
commita71fdabc80fe468107fdad10273ca7ac45b89857 (patch)
tree2321e3786e669fadf31da2f7976c4b8825069838 /debian/patches
parentAdding upstream version 1.13. (diff)
downloadclzip-a71fdabc80fe468107fdad10273ca7ac45b89857.tar.xz
clzip-a71fdabc80fe468107fdad10273ca7ac45b89857.zip
Adding debian version 1.13-5.debian/1.13-5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/debian/0001-build.patch21
-rw-r--r--debian/patches/series1
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..5bc37c9
--- /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 clzip.orig/configure clzip/configure
+--- clzip.orig/configure
++++ clzip/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=
+
+ # checking whether we are using GNU C.
+ /bin/sh -c "${CC} --version" > /dev/null 2>&1 || { CC=cc ; CFLAGS=-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