summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordrochner <drochner>2010-03-11 12:53:52 +0000
committerdrochner <drochner>2010-03-11 12:53:52 +0000
commitad6e3301d4cacb7f113d0e59dc4617ec4859072b (patch)
treef37e0206a633fd15e3a7e4f399aa6d65460f04fb /print
parentf2757f0083fc883438f2b357682e421b15267247 (diff)
downloadpkgsrc-ad6e3301d4cacb7f113d0e59dc4617ec4859072b.tar.gz
add patch from upstream (rev. 10778) to fix problems with PDF display,
from Dennis den Brok per PR pkg/42946
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript/Makefile3
-rw-r--r--print/ghostscript/distinfo3
-rw-r--r--print/ghostscript/patches/patch-am13
3 files changed, 17 insertions, 2 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 1ba8f68a937..e7052630af0 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.75 2010/02/23 20:31:26 drochner Exp $
+# $NetBSD: Makefile,v 1.76 2010/03/11 12:53:52 drochner Exp $
DISTNAME= ghostscript-8.71
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
MASTER_SITES+= http://ghostscript.com/releases/
diff --git a/print/ghostscript/distinfo b/print/ghostscript/distinfo
index 0f8d93b5564..f86af68528f 100644
--- a/print/ghostscript/distinfo
+++ b/print/ghostscript/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2010/03/04 11:16:27 tnn Exp $
+$NetBSD: distinfo,v 1.31 2010/03/11 12:53:52 drochner Exp $
SHA1 (ghostscript-8.71.tar.gz) = 629299140f612fac32f6289be0904107dfd1b555
RMD160 (ghostscript-8.71.tar.gz) = efce74cf22cf99b2b1a145df466e79a86e3dfefb
@@ -13,3 +13,4 @@ SHA1 (patch-ah) = 8cdf9cc1a62e3eb34ca8edf7bbaf9d542b612519
SHA1 (patch-ai) = ad69ddd4a4bd50cf2263ac6c6d17a59798ef3124
SHA1 (patch-aj) = 620d921210b5c0efec0a84e33bc416e4ab4bd11c
SHA1 (patch-al) = 86489b704c60320385794c3eb68170d9b9f1f6cc
+SHA1 (patch-am) = 47a994e902d565f2a06b054766d6fa93c7534d21
diff --git a/print/ghostscript/patches/patch-am b/print/ghostscript/patches/patch-am
new file mode 100644
index 00000000000..56d864dfb9f
--- /dev/null
+++ b/print/ghostscript/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.3 2010/03/11 12:53:52 drochner Exp $
+
+--- lib/pdf2dsc.ps.orig 2010-03-11 11:43:37.000000000 +0000
++++ lib/pdf2dsc.ps
+@@ -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