summaryrefslogtreecommitdiff
path: root/debian/patches/zlib-ifdef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/zlib-ifdef.patch')
-rw-r--r--debian/patches/zlib-ifdef.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/debian/patches/zlib-ifdef.patch b/debian/patches/zlib-ifdef.patch
index 003b860..0ccde6d 100644
--- a/debian/patches/zlib-ifdef.patch
+++ b/debian/patches/zlib-ifdef.patch
@@ -1,6 +1,10 @@
+Description: Fix zlib ifdef to ensure it builds right
+Author: Dave Hibberd <d@vehibberd.com>
+Last-Update: 2023-08-07
+
--- a/configure
+++ b/configure
-@@ -74,14 +74,15 @@
+@@ -74,14 +74,14 @@
_sleep 1
echo -n "Checking for the existence of the Zlib headers... "
ZLIB=""
@@ -10,13 +14,10 @@
do
if [ -f $zlibdir/zlib.h ]
then
-- echo $zlibdir/zlib.h
-- ZLIB="-lz"
+ echo $zlibdir/zlib.h
+ ZLIB="-lz"
- HAVEZLIB="#define HAVE_ZLIB 1"
-+ echo "skipping zlib until it works right..."
-+ # echo $zlibdir/zlib.h
-+ # ZLIB="-lz"
-+ # HAVEZLIB="#define HAVE_ZLIB_H 1"
++ HAVEZLIB="#define HAVE_ZLIB_H 1"
fi
done
if [ -z "$ZLIB" ]