summaryrefslogtreecommitdiff
path: root/fonts/fontforge
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-10-10 18:44:53 +0000
committerwiz <wiz@pkgsrc.org>2010-10-10 18:44:53 +0000
commit596599d622758b3a76022c008063dc21fb43494a (patch)
tree55c40353ae1fdcc261f8ce0619fb3538ce9f1c62 /fonts/fontforge
parent1597e7dd6ff3398966350bbed28bb91b60f87aaf (diff)
downloadpkgsrc-596599d622758b3a76022c008063dc21fb43494a.tar.gz
Fix stack overflow, reported to pkgsrc-users by Nicolas Thauvin using
patch from http://sourceforge.net/mailarchive/forum.php?thread_name=4C5D676B.3000509%40limes.com.pl&forum_name=fontforge-devel Bump PKGREVISION.
Diffstat (limited to 'fonts/fontforge')
-rw-r--r--fonts/fontforge/Makefile4
-rw-r--r--fonts/fontforge/distinfo3
-rw-r--r--fonts/fontforge/patches/patch-ai16
3 files changed, 20 insertions, 3 deletions
diff --git a/fonts/fontforge/Makefile b/fonts/fontforge/Makefile
index f399f316847..532c032c4b7 100644
--- a/fonts/fontforge/Makefile
+++ b/fonts/fontforge/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.66 2010/09/14 11:01:46 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2010/10/10 18:44:53 wiz Exp $
DISTNAME= fontforge_full-${VERSION}
PKGNAME= fontforge-${VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= fonts editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fontforge/}
EXTRACT_SUFX= .tar.bz2
diff --git a/fonts/fontforge/distinfo b/fonts/fontforge/distinfo
index da79434fd6f..fad6e8fe31e 100644
--- a/fonts/fontforge/distinfo
+++ b/fonts/fontforge/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.52 2010/05/21 06:34:23 adam Exp $
+$NetBSD: distinfo,v 1.53 2010/10/10 18:44:53 wiz Exp $
SHA1 (fontforge_full-20100501.tar.bz2) = 483425116c6af6ad90e37f9ada0c28e34f251ec3
RMD160 (fontforge_full-20100501.tar.bz2) = 4dee2ecdbd32bf3854105f195984d9cabf198fd8
@@ -6,3 +6,4 @@ Size (fontforge_full-20100501.tar.bz2) = 6666386 bytes
SHA1 (patch-aa) = e6846a21c973aaa265bb46ba63d145d5f9c00714
SHA1 (patch-ab) = ec93a47051186bcb901fd145edffad7c457c33fd
SHA1 (patch-ae) = ca532490137e83ff328ad32c0102d57bed7bb453
+SHA1 (patch-ai) = 4b30556509007d1c74ccdfc9d27f7f23f30bbdb1
diff --git a/fonts/fontforge/patches/patch-ai b/fonts/fontforge/patches/patch-ai
new file mode 100644
index 00000000000..3466bca0b1d
--- /dev/null
+++ b/fonts/fontforge/patches/patch-ai
@@ -0,0 +1,16 @@
+$NetBSD: patch-ai,v 1.5 2010/10/10 18:44:54 wiz Exp $
+
+Stack overflow bug, see:
+http://sourceforge.net/mailarchive/forum.php?thread_name=4C5D676B.3000509%40limes.com.pl&forum_name=fontforge-devel
+
+--- fontforge/svg.c.orig 2010-04-29 03:53:22.000000000 +0000
++++ fontforge/svg.c
+@@ -150,7 +150,7 @@ return( defwid );
+ static int svg_pathdump(FILE *file, SplineSet *spl, int lineout,
+ int forceclosed, int do_clips) {
+ BasePoint last;
+- char buffer[60];
++ char buffer[85];
+ int closed=false;
+ Spline *sp, *first;
+ /* as I see it there is nothing to be gained by optimizing out the */