diff options
author | rillig <rillig@pkgsrc.org> | 2006-04-19 19:43:17 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-04-19 19:43:17 +0000 |
commit | 6e9b41ba2a5b634ca77b59779b6fedd30f2e6088 (patch) | |
tree | 8198e20c0a289a8a0b9b6615ed2fbaa89a9c9f37 /fonts | |
parent | 3787e084d9a213de58e30861adf2b80510870688 (diff) | |
download | pkgsrc-6e9b41ba2a5b634ca77b59779b6fedd30f2e6088.tar.gz |
Added a patch for ISO C90 compatibility.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/fontforge/distinfo | 3 | ||||
-rw-r--r-- | fonts/fontforge/patches/patch-ai | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/fonts/fontforge/distinfo b/fonts/fontforge/distinfo index 95dde0aa023..a9230b979f9 100644 --- a/fonts/fontforge/distinfo +++ b/fonts/fontforge/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2006/04/16 20:10:29 adam Exp $ +$NetBSD: distinfo,v 1.23 2006/04/19 19:43:17 rillig Exp $ SHA1 (fontforge_full-20060413.tar.bz2) = b99341f2f1f02dbfd9182bd38afb805125e36ea2 RMD160 (fontforge_full-20060413.tar.bz2) = f9d098e9135f0074beac2ea919177f1dbb985d0e @@ -11,3 +11,4 @@ SHA1 (patch-ae) = 5e10c47b52b7e9aaeb3dcc36337775cd66d4934b SHA1 (patch-af) = b417bde49041767f5959519d738096b1f5976b07 SHA1 (patch-ag) = 7a54cd574ff723037e10161526547dae9daf3573 SHA1 (patch-ah) = 328b157281c7face7692e97fa4782b104b4b474f +SHA1 (patch-ai) = 95f44952e26529c6078bd85555ecbbdbf96dd271 diff --git a/fonts/fontforge/patches/patch-ai b/fonts/fontforge/patches/patch-ai new file mode 100644 index 00000000000..4cf32116e6f --- /dev/null +++ b/fonts/fontforge/patches/patch-ai @@ -0,0 +1,21 @@ +$NetBSD: patch-ai,v 1.3 2006/04/19 19:43:18 rillig Exp $ + +gcc 2.95 does not like declarations intermixed with code. + +--- fontforge/charinfo.c.orig 2006-03-24 22:54:58.000000000 +0100 ++++ fontforge/charinfo.c 2006-04-19 21:41:30.000000000 +0200 +@@ -4288,13 +4288,13 @@ return( true ); + + static int CI_NameCheck(const unichar_t *name) { + int bad, questionable; ++ extern int allow_utf8_glyphnames; + #if defined(FONTFORGE_CONFIG_GDRAW) + char *buts[3]; + buts[0] = _("_Yes"); buts[1]=_("_No"); buts[2] = NULL; + #elif defined(FONTFORGE_CONFIG_GTK) + static char *buts[] = { GTK_STOCK_YES, GTK_STOCK_CANCEL, NULL }; + #endif +- extern int allow_utf8_glyphnames; + + if ( uc_strcmp(name,".notdef")==0 ) /* This name is a special case and doesn't follow conventions */ + return( true ); |