aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xfig
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-06 22:27:30 +0800
committermiwi <miwi@FreeBSD.org>2007-06-06 22:27:30 +0800
commitc99aa7f2b79460fc5d2ca936e51a96b823efe7ba (patch)
tree0b75abaa1403dadd35740e276cc9a1b6755c0095 /graphics/xfig
parenta2420f8bb24c1b2ef0e5407396260824bd566b3c (diff)
downloadfreebsd-ports-gnome-c99aa7f2b79460fc5d2ca936e51a96b823efe7ba.tar.gz
freebsd-ports-gnome-c99aa7f2b79460fc5d2ca936e51a96b823efe7ba.tar.zst
freebsd-ports-gnome-c99aa7f2b79460fc5d2ca936e51a96b823efe7ba.zip
- Fix build with gcc 4.2
PR: 112990 Submitted by: Hyogeol Lee <hyogeollee@gmail.com>
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/files/patch-u_fonts.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/xfig/files/patch-u_fonts.h b/graphics/xfig/files/patch-u_fonts.h
new file mode 100644
index 000000000000..2750194bc7e0
--- /dev/null
+++ b/graphics/xfig/files/patch-u_fonts.h
@@ -0,0 +1,32 @@
+I attached patch file, and that patch file can works with both ports xfig,
+
+xfig-devel.
+
+
+Patch attached with submission follows:
+
+--- u_fonts.h.orig Fri May 25 21:39:29 2007
++++ u_fonts.h Fri May 25 21:40:07 2007
+@@ -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,
+@@ -60,6 +57,10 @@
+ struct xfont *xfontlist; /* linked list of X fonts for different point
+ * 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 */
+
+