diff options
author | minskim <minskim@pkgsrc.org> | 2004-04-19 04:30:03 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-04-19 04:30:03 +0000 |
commit | 95e546fe60445cb26d04bb6223071fdb284f8eb3 (patch) | |
tree | 33a8eb18e82f311cfe91b6ad9ca3fc7f6bc157dd /fonts/t1lib | |
parent | 587ae08ed5aa5d21e42d332fa07587033ada839a (diff) | |
download | pkgsrc-95e546fe60445cb26d04bb6223071fdb284f8eb3.tar.gz |
Fix off-by-one error in fonts/t1lib. Bump PKGREVISION.
Diffstat (limited to 'fonts/t1lib')
-rw-r--r-- | fonts/t1lib/Makefile | 3 | ||||
-rw-r--r-- | fonts/t1lib/distinfo | 3 | ||||
-rw-r--r-- | fonts/t1lib/patches/patch-ad | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/fonts/t1lib/Makefile b/fonts/t1lib/Makefile index 3b4ea116185..caebfb41c3a 100644 --- a/fonts/t1lib/Makefile +++ b/fonts/t1lib/Makefile @@ -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 --git a/fonts/t1lib/distinfo b/fonts/t1lib/distinfo index b2de1e1ecb6..58bfc873f35 100644 --- a/fonts/t1lib/distinfo +++ b/fonts/t1lib/distinfo @@ -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 --git a/fonts/t1lib/patches/patch-ad b/fonts/t1lib/patches/patch-ad new file mode 100644 index 00000000000..507512e3e94 --- /dev/null +++ b/fonts/t1lib/patches/patch-ad @@ -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'; |