summaryrefslogtreecommitdiff
path: root/libre/ghostscript-libre/ghostscript-sys-zlib.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-08 01:14:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-08 01:14:11 -0300
commitc896f96dc16e7a10c36c46f2ca1c71401899975b (patch)
tree898dac1213b6b110cb2d5eddbc9c53ba6ada7321 /libre/ghostscript-libre/ghostscript-sys-zlib.patch
parentaf74ab76fb2b31cf9059b38b4217afc334476252 (diff)
ghostscript-libre: add new package to [libre]
Diffstat (limited to 'libre/ghostscript-libre/ghostscript-sys-zlib.patch')
-rw-r--r--libre/ghostscript-libre/ghostscript-sys-zlib.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/libre/ghostscript-libre/ghostscript-sys-zlib.patch b/libre/ghostscript-libre/ghostscript-sys-zlib.patch
new file mode 100644
index 000000000..d632fcbb2
--- /dev/null
+++ b/libre/ghostscript-libre/ghostscript-sys-zlib.patch
@@ -0,0 +1,25 @@
+diff -up ghostscript-9.12/configure.ac.sys-zlib ghostscript-9.12/configure.ac
+--- ghostscript-9.12/configure.ac.sys-zlib 2014-03-26 11:48:54.983972222 +0000
++++ ghostscript-9.12/configure.ac 2014-03-26 11:49:36.807230531 +0000
+@@ -854,7 +854,7 @@ AC_MSG_CHECKING([for local zlib source])
+ 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=
+
+ if test -d $srcdir/zlib; then
+diff -up ghostscript-9.12/configure.sys-zlib ghostscript-9.12/configure
+--- ghostscript-9.12/configure.sys-zlib 2014-03-26 11:49:45.547284521 +0000
++++ ghostscript-9.12/configure 2014-03-26 11:49:56.171350127 +0000
+@@ -6254,7 +6254,7 @@ fi
+ $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=
+
+ if test -d $srcdir/zlib; then
+