diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-08-07 12:37:26 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-08-07 12:37:26 +0100 |
| commit | 7a63b2dc8f8ae88c41d367f257293852857a6800 (patch) | |
| tree | d9eca78cd4e4ead6c794cb9bf6315f5bb24a2664 /debian/patches/zlib-ifdef.patch | |
| parent | f3e7693fe3cf2cc24532aec81b5730427c26d4a4 (diff) | |
Zlib and netrom MOTD patch
Diffstat (limited to 'debian/patches/zlib-ifdef.patch')
| -rw-r--r-- | debian/patches/zlib-ifdef.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/zlib-ifdef.patch b/debian/patches/zlib-ifdef.patch new file mode 100644 index 0000000..0ccde6d --- /dev/null +++ b/debian/patches/zlib-ifdef.patch @@ -0,0 +1,23 @@ +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,14 @@ + _sleep 1 + echo -n "Checking for the existence of the Zlib headers... " + ZLIB="" +-HAVEZLIB="#undef HAVE_ZLIB" ++HAVEZLIB="#undef HAVE_ZLIB_H" + for zlibdir in /usr/include /usr/local/include + do + if [ -f $zlibdir/zlib.h ] + then + echo $zlibdir/zlib.h + ZLIB="-lz" +- HAVEZLIB="#define HAVE_ZLIB 1" ++ HAVEZLIB="#define HAVE_ZLIB_H 1" + fi + done + if [ -z "$ZLIB" ] |
