pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/fontforge Added a patch for ISO C90 compatibility.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c20dd1b033bc
branches:  trunk
changeset: 511710:c20dd1b033bc
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Apr 19 19:43:17 2006 +0000

description:
Added a patch for ISO C90 compatibility.

diffstat:

 fonts/fontforge/distinfo         |   3 ++-
 fonts/fontforge/patches/patch-ai |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r a96365b9b5e3 -r c20dd1b033bc fonts/fontforge/distinfo
--- a/fonts/fontforge/distinfo  Wed Apr 19 19:21:55 2006 +0000
+++ b/fonts/fontforge/distinfo  Wed Apr 19 19:43:17 2006 +0000
@@ -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-af) = b417bde49041767f5959519d738096b1f5976b07
 SHA1 (patch-ag) = 7a54cd574ff723037e10161526547dae9daf3573
 SHA1 (patch-ah) = 328b157281c7face7692e97fa4782b104b4b474f
+SHA1 (patch-ai) = 95f44952e26529c6078bd85555ecbbdbf96dd271
diff -r a96365b9b5e3 -r c20dd1b033bc fonts/fontforge/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/fontforge/patches/patch-ai  Wed Apr 19 19:43:17 2006 +0000
@@ -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 );



Home | Main Index | Thread Index | Old Index