summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-06-30 18:59:34 +0000
committertron <tron@pkgsrc.org>2006-06-30 18:59:34 +0000
commitcfee4e608ba64c14f1c197d16fc2183566d2242a (patch)
tree0a2b2c38d3c75de69c28b9ba3631c9c8c58112db /graphics/xfig
parent2bf84af07f381ae5c6f8cbd6333af4d5989e931f (diff)
downloadpkgsrc-cfee4e608ba64c14f1c197d16fc2183566d2242a.tar.gz
Declare structures before using the in extern declarations to make
this build with GCC 4.x.
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/distinfo3
-rw-r--r--graphics/xfig/patches/patch-af24
2 files changed, 26 insertions, 1 deletions
diff --git a/graphics/xfig/distinfo b/graphics/xfig/distinfo
index 9caec77d323..d8caf87cb17 100644
--- a/graphics/xfig/distinfo
+++ b/graphics/xfig/distinfo
@@ -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-ab) = 7fb6cdf47d980db3d95cba0797408247087148e0
SHA1 (patch-ac) = 63ac4774439cab4bda5c75a3912103080bc1c6fd
SHA1 (patch-ad) = 80ae2ce2eea6a747862d1b223ffff56feaa73f1a
SHA1 (patch-ae) = 91aaa109fb38429043be89c9224ad3ca8f7bc02f
+SHA1 (patch-af) = 26277c44716de75eef8cd6e1db5ab4c6c728d9a0
diff --git a/graphics/xfig/patches/patch-af b/graphics/xfig/patches/patch-af
new file mode 100644
index 00000000000..573cf9ac11a
--- /dev/null
+++ b/graphics/xfig/patches/patch-af
@@ -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 */