From a11cd18dbeab947d9b2e34ef603b7da203729d82 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 6 Jun 2007 14:27:30 +0000 Subject: - Fix build with gcc 4.2 PR: 112990 Submitted by: Hyogeol Lee --- graphics/xfig-devel/files/patch-u_fonts.h | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 graphics/xfig-devel/files/patch-u_fonts.h (limited to 'graphics/xfig-devel/files/patch-u_fonts.h') diff --git a/graphics/xfig-devel/files/patch-u_fonts.h b/graphics/xfig-devel/files/patch-u_fonts.h new file mode 100644 index 000000000000..2750194bc7e0 --- /dev/null +++ b/graphics/xfig-devel/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 */ + + -- cgit v1.2.3