diff --git a/ghostscript/.md5sum b/ghostscript/.md5sum index b7f06530a..8003ea207 100644 --- a/ghostscript/.md5sum +++ b/ghostscript/.md5sum @@ -1,3 +1,3 @@ -ca29dfd08fc18e15f5922367b3cbca70 ghostscript-8.71.patch +3fb694a0497912747d879bb3889bf94f ghostscript-8.71.patch 5005d68f7395c2bfc4b05c1a60d9b6ba ghostscript-8.71.tar.xz 6865682b095f8c4500c54b285ff05ef6 ghostscript-fonts-std-8.11.tar.gz diff --git a/ghostscript/Pkgfile b/ghostscript/Pkgfile index bd7738c52..6e45086d3 100644 --- a/ghostscript/Pkgfile +++ b/ghostscript/Pkgfile @@ -5,7 +5,7 @@ name=ghostscript version=8.71 -release=1 +release=2 source=(http://ghostscript.com/releases/$name-$version.tar.xz http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz $name-$version.patch) diff --git a/ghostscript/ghostscript-8.71.patch b/ghostscript/ghostscript-8.71.patch index 8bf0a8e92..3afa7c453 100644 --- a/ghostscript/ghostscript-8.71.patch +++ b/ghostscript/ghostscript-8.71.patch @@ -48,3 +48,16 @@ index e268c7d..176183b 100644 -- 1.6.0.4 +# https://bugzilla.redhat.com/show_bug.cgi?id=565935 + +--- ghostscript-8.71/lib/pdf2dsc.ps.copy_trailer_attrs 2008-02-25 05:48:45.000000000 +0000 ++++ ghostscript-8.71/lib/pdf2dsc.ps 2010-02-19 21:35:15.000000000 +0000 +@@ -116,7 +116,7 @@ systemdict /.setsafe known { .setsafe } + DSCfile PDFname write==only + ( \(r\) file { DELAYSAFER { .setsafe } if } stopped pop\n) puts + ( pdfopen begin\n) puts +- ( copy_trailer_attrs\n) puts ++ ( process_trailer_attrs\n) puts + (%%EndSetup\n) puts + + /.hasPageLabels false def % see "Page Labels" in the PDF Reference