pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xfig Declare structures before using the in e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f843f30f19c
branches:  trunk
changeset: 515326:1f843f30f19c
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Jun 30 18:59:34 2006 +0000

description:
Declare structures before using the in extern declarations to make
this build with GCC 4.x.

diffstat:

 graphics/xfig/distinfo         |   3 ++-
 graphics/xfig/patches/patch-af |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r c0af43a662f5 -r 1f843f30f19c graphics/xfig/distinfo
--- a/graphics/xfig/distinfo    Fri Jun 30 18:52:41 2006 +0000
+++ b/graphics/xfig/distinfo    Fri Jun 30 18:59:34 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2006/06/02 12:13:03 rillig Exp $
+$NetBSD: distinfo,v 1.16 2006/06/30 18:59:34 tron Exp $
 
 SHA1 (xfig.3.2.5-alpha5.full.tar.gz) = ed99caf4505bc401ac34ecbe3d4c0aa783c4cc62
 RMD160 (xfig.3.2.5-alpha5.full.tar.gz) = 47fd9d74b117518d1870297228e31591f312df2d
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 63ac4774439cab4bda5c75a3912103080bc1c6fd
 SHA1 (patch-ad) = 80ae2ce2eea6a747862d1b223ffff56feaa73f1a
 SHA1 (patch-ae) = 91aaa109fb38429043be89c9224ad3ca8f7bc02f
+SHA1 (patch-af) = 26277c44716de75eef8cd6e1db5ab4c6c728d9a0
diff -r c0af43a662f5 -r 1f843f30f19c graphics/xfig/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xfig/patches/patch-af    Fri Jun 30 18:59:34 2006 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-af,v 1.1 2006/06/30 18:59:34 tron Exp $
+
+--- u_fonts.h.orig     2004-01-06 19:47:45.000000000 +0000
++++ u_fonts.h  2006-06-30 19:55:40.000000000 +0100
+@@ -32,9 +32,6 @@
+ 
+ extern int            psfontnum();
+ extern int            latexfontnum();
+-extern struct _xfstruct       x_fontinfo[], x_backup_fontinfo[];
+-extern struct _fstruct        ps_fontinfo[];
+-extern struct _fstruct        latex_fontinfo[];
+ 
+ /* element of linked list for each font
+    The head of list is for the different font NAMES,
+@@ -61,5 +58,9 @@
+                                * sizes */
+ };
+ 
++extern struct _xfstruct       x_fontinfo[], x_backup_fontinfo[];
++extern struct _fstruct        ps_fontinfo[];
++extern struct _fstruct        latex_fontinfo[];
++
+ int           x_fontnum();
+ #endif /* U_FONTS_H */



Home | Main Index | Thread Index | Old Index