pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/ghostscript fix a botched pointer comparision wh...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a8bc3b66dc1d
branches: trunk
changeset: 539440:a8bc3b66dc1d
user: drochner <drochner%pkgsrc.org@localhost>
date: Wed Mar 05 19:12:16 2008 +0000
description:
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:
print/ghostscript/Makefile | 3 ++-
print/ghostscript/distinfo | 3 ++-
print/ghostscript/patches/patch-ae | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (42 lines):
diff -r 19104b7f2c5b -r a8bc3b66dc1d print/ghostscript/Makefile
--- a/print/ghostscript/Makefile Wed Mar 05 19:08:05 2008 +0000
+++ b/print/ghostscript/Makefile Wed Mar 05 19:12:16 2008 +0000
@@ -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 -r 19104b7f2c5b -r a8bc3b66dc1d print/ghostscript/distinfo
--- a/print/ghostscript/distinfo Wed Mar 05 19:08:05 2008 +0000
+++ b/print/ghostscript/distinfo Wed Mar 05 19:12:16 2008 +0000
@@ -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 -r 19104b7f2c5b -r a8bc3b66dc1d print/ghostscript/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript/patches/patch-ae Wed Mar 05 19:12:16 2008 +0000
@@ -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);
+ }
+
Home |
Main Index |
Thread Index |
Old Index