diff --git a/ghostscript-9.20-system-zlib.patch b/ghostscript-9.20-system-zlib.patch deleted file mode 100644 index d632fcb..0000000 --- a/ghostscript-9.20-system-zlib.patch +++ /dev/null @@ -1,25 +0,0 @@ -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 - diff --git a/ghostscript-9.27-system-zlib.patch b/ghostscript-9.27-system-zlib.patch new file mode 100644 index 0000000..2ce1419 --- /dev/null +++ b/ghostscript-9.27-system-zlib.patch @@ -0,0 +1,24 @@ +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="" + diff --git a/ghostscript.spec b/ghostscript.spec index 90976f2..4fb4392 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -3,7 +3,7 @@ Name: ghostscript Version: 9.27 -Release: 1mamba +Release: 2mamba Summary: The GPL release of the Ghostscript interpreter Group: Applications/Publishing Vendor: openmamba @@ -14,7 +14,7 @@ Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/do #Source: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz #Source: http://downloads.sourceforge.net/sourceforge/ghostscript/ghostscript-%{version}.tar.bz2 Patch0: ghostscript-9.07-european-locales-comma-separator.patch -Patch1: ghostscript-9.20-system-zlib.patch +Patch1: ghostscript-9.27-system-zlib.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -297,6 +297,9 @@ rm -f %{buildroot}%{_datadir}/ghostscript/%{version}/doc %{_libdir}/ghostscript/*/X11.so %changelog +* Wed Aug 14 2019 Silvan Calarco 9.27-2mamba +- rebuilt + * Thu Apr 04 2019 Automatic Build System 9.27-1mamba - automatic version update by autodist