summaryrefslogtreecommitdiff
path: root/print/ghostscript
diff options
context:
space:
mode:
authordrochner <drochner>2008-03-05 19:12:16 +0000
committerdrochner <drochner>2008-03-05 19:12:16 +0000
commit602fbb4b298f38a56b5591895516079607fe2948 (patch)
tree11a584cc2e877bda4537be7e441f74c53ce44318 /print/ghostscript
parent3f5be042f8ea2e3aeeb9585ab0f493956a196363 (diff)
downloadpkgsrc-602fbb4b298f38a56b5591895516079607fe2948.tar.gz
fix a botched pointer comparision which fails if the pointer difference
overflows the signed integer range, this fixes font problems in PDF creation for me, bump PKGREVISION
Diffstat (limited to 'print/ghostscript')
-rw-r--r--print/ghostscript/Makefile3
-rw-r--r--print/ghostscript/distinfo3
-rw-r--r--print/ghostscript/patches/patch-ae13
3 files changed, 17 insertions, 2 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 5c344c5e74c..5d144577168 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2008/03/05 11:01:12 drochner Exp $
+# $NetBSD: Makefile,v 1.46 2008/03/05 19:12:16 drochner Exp $
DISTNAME= ghostscript-8.62
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
EXTRACT_SUFX= .tar.bz2
diff --git a/print/ghostscript/distinfo b/print/ghostscript/distinfo
index ef975a90ed9..559ab97c54c 100644
--- a/print/ghostscript/distinfo
+++ b/print/ghostscript/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.14 2008/03/05 11:01:12 drochner Exp $
+$NetBSD: distinfo,v 1.15 2008/03/05 19:12:16 drochner Exp $
SHA1 (ghostscript-8.62.tar.bz2) = a254a3bc4ca824ac90624090d175d17c0a22fed1
RMD160 (ghostscript-8.62.tar.bz2) = 6f129fc679f4532729c07c018e82d162343f95ba
Size (ghostscript-8.62.tar.bz2) = 15063641 bytes
SHA1 (patch-ab) = 2477242c4c5f6b6feaaa217deb1aa37485f2fac5
SHA1 (patch-ad) = 8b3b743b2d6405ea35bfb16970942ecd55702401
+SHA1 (patch-ae) = df329ac87f9ed97b76f0a7fff738050e8c35794a
diff --git a/print/ghostscript/patches/patch-ae b/print/ghostscript/patches/patch-ae
new file mode 100644
index 00000000000..32c05a88e1b
--- /dev/null
+++ b/print/ghostscript/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.3 2008/03/05 19:12:16 drochner Exp $
+
+--- src/gscencs.c.orig 2008-03-05 20:02:12.000000000 +0100
++++ src/gscencs.c
+@@ -117,7 +117,7 @@ bool
+ gs_is_c_glyph_name(const byte *str, uint len)
+ {
+ return (str >= (const byte *)gs_c_known_encoding_chars &&
+- (str - (const byte *)gs_c_known_encoding_chars) <
++ (unsigned long)(str - (const byte *)gs_c_known_encoding_chars) <
+ gs_c_known_encoding_total_chars);
+ }
+