ghostscript/ghostscript-9.27-system-zlib.patch

25 lines
931 B
Diff
Raw Normal View History

diff -Nru ghostscript-9.27.orig/configure ghostscript-9.27/configure
--- ghostscript-9.27.orig/configure 2019-04-04 09:43:48.000000000 +0200
+++ ghostscript-9.27/configure 2019-08-14 22:47:12.392000000 +0200
@@ -7295,7 +7295,7 @@
$as_echo_n "checking for local zlib source... " >&6; }
# we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
# this seems a harmless default
-ZLIBDIR=src
+ZLIBDIR=$includedir
AUX_SHARED_ZLIB=
ZLIBCFLAGS=""
diff -Nru ghostscript-9.27.orig/configure.ac ghostscript-9.27/configure.ac
--- ghostscript-9.27.orig/configure.ac 2019-04-04 09:43:14.000000000 +0200
+++ ghostscript-9.27/configure.ac 2019-08-14 22:47:26.573000000 +0200
@@ -1092,7 +1092,7 @@
dnl zlib is needed for language level 3, and libpng
# we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
# this seems a harmless default
-ZLIBDIR=src
+ZLIBDIR=$includedir
AUX_SHARED_ZLIB=
ZLIBCFLAGS=""