openbsd-ports/print/fontforge/patches/patch-fontforge_svg_c
kili bbbb98de61 Enlarge the buffer used in svg_pathdump().
While here, switch to new-style wantlib.
2010-07-11 05:23:20 +00:00

13 lines
491 B
Plaintext

$OpenBSD: patch-fontforge_svg_c,v 1.1 2010/07/11 05:23:20 kili Exp $
--- fontforge/svg.c.orig Thu Jul 8 21:17:10 2010
+++ fontforge/svg.c Thu Jul 8 21:49:46 2010
@@ -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 */