summaryrefslogtreecommitdiff
path: root/x11/libXfont
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-09-24 16:24:48 +0000
committerjoerg <joerg@pkgsrc.org>2007-09-24 16:24:48 +0000
commitade92d961f69c81d2b359738a83f78ccf5190e93 (patch)
treed978e0338ad41ebb11aca24e8233596c04b3c5f8 /x11/libXfont
parentc244763221c99c9893902ef005fdc668d52fcb93 (diff)
downloadpkgsrc-ade92d961f69c81d2b359738a83f78ccf5190e93.tar.gz
Fix off-by-one issue. Bump revision.
Diffstat (limited to 'x11/libXfont')
-rw-r--r--x11/libXfont/Makefile3
-rw-r--r--x11/libXfont/distinfo3
-rw-r--r--x11/libXfont/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/x11/libXfont/Makefile b/x11/libXfont/Makefile
index 17a11459993..dc63ebb6c81 100644
--- a/x11/libXfont/Makefile
+++ b/x11/libXfont/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2007/09/21 19:32:17 bjs Exp $
+# $NetBSD: Makefile,v 1.8 2007/09/24 16:24:48 joerg Exp $
#
DISTNAME= libXfont-1.3.1
+PKGREVISION= 1
CATEGORIES= x11 devel fonts
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/libXfont/distinfo b/x11/libXfont/distinfo
index 220181d6b57..2fd78aa651f 100644
--- a/x11/libXfont/distinfo
+++ b/x11/libXfont/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2007/09/21 19:32:17 bjs Exp $
+$NetBSD: distinfo,v 1.7 2007/09/24 16:24:48 joerg Exp $
SHA1 (libXfont-1.3.1.tar.bz2) = 90153414cd3580d92cad6469166c099749cddd29
RMD160 (libXfont-1.3.1.tar.bz2) = 13c8ed7b33ec0c4f08c032d74958e49d3c177464
Size (libXfont-1.3.1.tar.bz2) = 564235 bytes
+SHA1 (patch-aa) = e421de2c9b67b46c2dab651ba1bab13fd08df914
diff --git a/x11/libXfont/patches/patch-aa b/x11/libXfont/patches/patch-aa
new file mode 100644
index 00000000000..c0509f80809
--- /dev/null
+++ b/x11/libXfont/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2007/09/24 16:24:48 joerg Exp $
+
+--- src/fontfile/catalogue.c.orig 2007-09-24 18:18:59.000000000 +0200
++++ src/fontfile/catalogue.c
+@@ -156,7 +156,7 @@ CatalogueRescan (FontPathElementPtr fpe)
+ while (entry = readdir(dir), entry != NULL)
+ {
+ snprintf(link, sizeof link, "%s/%s", path, entry->d_name);
+- len = readlink(link, dest, sizeof dest);
++ len = readlink(link, dest, sizeof dest - 1);
+ if (len < 0)
+ continue;
+