pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libXfont Fix off-by-one issue. Bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d74d1393bffb
branches:  trunk
changeset: 533691:d74d1393bffb
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Sep 24 16:24:48 2007 +0000

description:
Fix off-by-one issue. Bump revision.

diffstat:

 x11/libXfont/Makefile         |   3 ++-
 x11/libXfont/distinfo         |   3 ++-
 x11/libXfont/patches/patch-aa |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r 70add1dc7f86 -r d74d1393bffb x11/libXfont/Makefile
--- a/x11/libXfont/Makefile     Mon Sep 24 12:57:04 2007 +0000
+++ b/x11/libXfont/Makefile     Mon Sep 24 16:24:48 2007 +0000
@@ -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 -r 70add1dc7f86 -r d74d1393bffb x11/libXfont/distinfo
--- a/x11/libXfont/distinfo     Mon Sep 24 12:57:04 2007 +0000
+++ b/x11/libXfont/distinfo     Mon Sep 24 16:24:48 2007 +0000
@@ -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 -r 70add1dc7f86 -r d74d1393bffb x11/libXfont/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libXfont/patches/patch-aa     Mon Sep 24 16:24:48 2007 +0000
@@ -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;
+ 



Home | Main Index | Thread Index | Old Index