diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-06 14:27:30 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-06 14:27:30 +0000 |
commit | a11cd18dbeab947d9b2e34ef603b7da203729d82 (patch) | |
tree | 9363b7f0c951545378bd4dbbf642bfe19777b3a5 /graphics/xfig-devel | |
parent | 91780d5f4a35fd6f36fc287e180fc2d94785f876 (diff) |
- Fix build with gcc 4.2
PR: 112990
Submitted by: Hyogeol Lee <hyogeollee@gmail.com>
Notes
Notes:
svn path=/head/; revision=192930
Diffstat (limited to 'graphics/xfig-devel')
-rw-r--r-- | graphics/xfig-devel/files/patch-u_fonts.h | 32 |
1 files changed, 32 insertions, 0 deletions
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 */ + + |