pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Fix off-by-one error in fonts/t1lib. Bump PKGREVISION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f07a6c35e17e
branches:  trunk
changeset: 473366:f07a6c35e17e
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Apr 19 04:30:03 2004 +0000

description:
Fix off-by-one error in fonts/t1lib.  Bump PKGREVISION.

diffstat:

 doc/CHANGES                  |   3 ++-
 fonts/t1lib/Makefile         |   3 ++-
 fonts/t1lib/distinfo         |   3 ++-
 fonts/t1lib/patches/patch-ad |  13 +++++++++++++
 4 files changed, 19 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r a369954a0631 -r f07a6c35e17e doc/CHANGES
--- a/doc/CHANGES       Mon Apr 19 04:14:35 2004 +0000
+++ b/doc/CHANGES       Mon Apr 19 04:30:03 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.5645 2004/04/19 03:31:07 minskim Exp $
+$NetBSD: CHANGES,v 1.5646 2004/04/19 04:30:03 minskim Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -2066,3 +2066,4 @@
        Added postgresql74-docs-7.4.2 [recht 2004-04-19]
        Added postgresql74-lib-7.4.2 [recht 2004-04-19]
        Added postgresql74-server-7.4.2 [recht 2004-04-19]
+       Updated t1lib to 5.0.2nb1 [minskim 2004-04-19]
diff -r a369954a0631 -r f07a6c35e17e fonts/t1lib/Makefile
--- a/fonts/t1lib/Makefile      Mon Apr 19 04:14:35 2004 +0000
+++ b/fonts/t1lib/Makefile      Mon Apr 19 04:30:03 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2004/04/15 14:14:34 minskim Exp $
+# $NetBSD: Makefile,v 1.14 2004/04/19 04:30:03 minskim Exp $
 #
 
 DISTNAME=      t1lib-5.0.2
+PKGREVISION=   1
 CATEGORIES=    fonts devel graphics
 MASTER_SITES=  ${MASTER_SITE_SUNSITE:=libs/graphics/} \
                ftp://ftp.foolabs.com/pub/xpdf/
diff -r a369954a0631 -r f07a6c35e17e fonts/t1lib/distinfo
--- a/fonts/t1lib/distinfo      Mon Apr 19 04:14:35 2004 +0000
+++ b/fonts/t1lib/distinfo      Mon Apr 19 04:30:03 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2004/04/19 04:14:35 simonb Exp $
+$NetBSD: distinfo,v 1.6 2004/04/19 04:30:03 minskim Exp $
 
 SHA1 (t1lib-5.0.2.tar.gz) = 71a6ec6c84a2e28a21f261be865e0dabe52daeb5
 Size (t1lib-5.0.2.tar.gz) = 1697086 bytes
 SHA1 (patch-aa) = 1a09e0f8c3b35987a963bd73b2d18722c0a67fba
 SHA1 (patch-ab) = 808dfa0b4cb8289078e3eb7d44428e6c2e57bc5e
 SHA1 (patch-ac) = aae10307ac7da8f095e7b294273503b5900e52aa
+SHA1 (patch-ad) = ff18028b165d9daba65a20510534ca6cc3b8d07d
diff -r a369954a0631 -r f07a6c35e17e fonts/t1lib/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/t1lib/patches/patch-ad      Mon Apr 19 04:30:03 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2004/04/19 04:30:03 minskim Exp $
+
+--- lib/type1/scanfont.c.orig  2004-03-05 19:58:26.000000000 -0600
++++ lib/type1/scanfont.c
+@@ -1237,7 +1237,7 @@ int scan_font(FontP)
+     }
+     if ( namelen >= MAXPATHLEN ) {
+       /* Hopefully, this will lead to a file open error */
+-      namelen = MAXPATHLEN;
++      namelen = MAXPATHLEN - 1;
+     }
+     strncpy(filename,nameP,namelen);
+     filename[namelen] = '\0';



Home | Main Index | Thread Index | Old Index