---- ghostscript-9.02/configure.ac~ 2011-07-12 22:52:14.000000000 +0200
-+++ ghostscript-9.02/configure.ac 2011-07-12 23:01:05.464937334 +0200
-@@ -594,6 +594,8 @@
+diff -ruN ghostscript-9.18.orig/configure.ac ghostscript-9.18/configure.ac
+--- ghostscript-9.18.orig/configure.ac 2015-10-05 10:21:11.000000000 +0200
++++ ghostscript-9.18/configure.ac 2015-12-30 18:50:49.477074470 +0100
+@@ -917,7 +917,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=
+
+ if test -d $srcdir/zlib; then
+@@ -936,6 +936,8 @@
local directory named 'zlib'. See http://www.gzip.org/zlib/
for more information.
])
Summary(pl.UTF-8): Bezpłatny interpreter i renderer PostScriptu i PDF
Summary(tr.UTF-8): PostScript & PDF yorumlayıcı ve gösterici
Name: ghostscript
-Version: 9.15
-Release: 2
+Version: 9.18
+Release: 1
License: GPL v3+
Group: Applications/Graphics
Source0: http://downloads.ghostscript.com/public/%{name}-%{version}.tar.bz2
-# Source0-md5: 0ee21d975c67a4883ba66bcc332418f5
+# Source0-md5: aa125af368d89b3dbd15fc379f13375f
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 9b5953aa0cc155f4364f20036b848585
Patch0: %{name}-missquotes.patch
# jpeg is built with different configuration (D_MAX_BLOCKS_IN_MCU=64)
# openjpeg is post-1.4 or modified
# lcms is modified, but lcms2 is used by default
-%{__rm} -r lcms
%{?with_system_lcms2:%{__rm} -r lcms2}
%{__aclocal}
%{__autoconf}