SOURCES: xfig-c.patch (NEW) - C fixes needed for gcc 4

qboosh qboosh at pld-linux.org
Sat Oct 28 01:37:44 CEST 2006


Author: qboosh                       Date: Fri Oct 27 23:37:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- C fixes needed for gcc 4

---- Files affected:
SOURCES:
   xfig-c.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xfig-c.patch
diff -u /dev/null SOURCES/xfig-c.patch:1.1
--- /dev/null	Sat Oct 28 01:37:44 2006
+++ SOURCES/xfig-c.patch	Sat Oct 28 01:37:38 2006
@@ -0,0 +1,27 @@
+--- xfig.3.2.5-alpha5/u_fonts.h.orig	2004-01-06 20:47:45.000000000 +0100
++++ xfig.3.2.5-alpha5/u_fonts.h	2006-10-28 01:20:47.476157750 +0200
+@@ -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 */
================================================================


More information about the pld-cvs-commit mailing list