ghostscript: fix for bug in pdf2dsc, which breaks pdf rendering with gv

This commit is contained in:
Juergen Daubert 2010-03-08 18:06:48 +01:00
parent 1dc0a39436
commit e4674c2bbb
3 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -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)

View File

@ -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