diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2005-12-08 20:40:46 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2005-12-08 20:40:46 +0000 |
commit | 162693f82e65a275fbf07b737132f5168a64fe77 (patch) | |
tree | 55048e99374f011099de567c88d869ef56a91dfc /media-gfx/xfig/files | |
parent | Don't provide virtual/jre. (diff) | |
download | gentoo-2-162693f82e65a275fbf07b737132f5168a64fe77.tar.gz gentoo-2-162693f82e65a275fbf07b737132f5168a64fe77.tar.bz2 gentoo-2-162693f82e65a275fbf07b737132f5168a64fe77.zip |
Added GCC 4 patch, thanks to Thomas Weidner <3.14159@gmx.net>, bug 114349.
(Portage version: 2.0.53)
Diffstat (limited to 'media-gfx/xfig/files')
-rw-r--r-- | media-gfx/xfig/files/xfig-3.2.4-gcc4.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-gfx/xfig/files/xfig-3.2.4-gcc4.patch b/media-gfx/xfig/files/xfig-3.2.4-gcc4.patch new file mode 100644 index 000000000000..b5ab193bda94 --- /dev/null +++ b/media-gfx/xfig/files/xfig-3.2.4-gcc4.patch @@ -0,0 +1,28 @@ +diff -ru xfig.3.2.4/u_fonts.h xfig.3.2.4.new/u_fonts.h +--- xfig.3.2.4/u_fonts.h 2002-03-27 01:18:23.000000000 +0100 ++++ xfig.3.2.4.new/u_fonts.h 2005-12-03 15:21:02.054250392 +0100 +@@ -30,12 +30,6 @@ + /* font number for the "nil" font (when user wants tiny text) */ + #define NILL_FONT NUM_FONTS + +-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, + and the elements of this list are for each different +@@ -61,5 +55,11 @@ + * sizes */ + }; + ++extern int psfontnum(); ++extern int latexfontnum(); ++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 */ |