diff options
author | danfe <danfe@FreeBSD.org> | 2007-06-18 22:49:13 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-06-18 22:49:13 +0800 |
commit | 56190b72a781c403f034259820d6f6187fb5d7db (patch) | |
tree | 42b01e3604d1d206723b2ca79fd2fe49637ac84f | |
parent | ef322dbf473790b590e9511675965881a2122d67 (diff) | |
download | freebsd-ports-gnome-56190b72a781c403f034259820d6f6187fb5d7db.tar.gz freebsd-ports-gnome-56190b72a781c403f034259820d6f6187fb5d7db.tar.zst freebsd-ports-gnome-56190b72a781c403f034259820d6f6187fb5d7db.zip |
Fix the build with modern GCC.
Reported by: pointyhat (logs)
-rw-r--r-- | graphics/xpx/files/patch-aa | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/xpx/files/patch-aa b/graphics/xpx/files/patch-aa index d44b8c2e6423..44673dd630cb 100644 --- a/graphics/xpx/files/patch-aa +++ b/graphics/xpx/files/patch-aa @@ -9,3 +9,24 @@ $(OBJS) : $(HEADERS) +--- edit.c.orig Mon Apr 29 17:36:37 1996 ++++ edit.c Mon Jun 18 21:46:31 2007 +@@ -34,7 +34,7 @@ + + /* work */ + static Window editfuncwin[3]; +-static int edit_mode[3] = {EDIT_PLOT, EDIT_GETCOLOR, EDIT_GETCOLOR}; ++int edit_mode[3] = {EDIT_PLOT, EDIT_GETCOLOR, EDIT_GETCOLOR}; + static int area_mode = 0; + static int circle_mode = 0; + static int line_mode = 0; +--- magtoppm.c.orig Mon Apr 29 17:36:41 1996 ++++ magtoppm.c Mon Jun 18 21:46:06 2007 +@@ -53,7 +53,6 @@ + + char rcsid_magtoppm[] = "$Id: magtoppm.c,v 1.22 1996/04/23 10:58:05 yav Exp $"; + static char rcsrev[] = "$Revision: 1.22 $"; +-static char *myname = "magtoppm"; + static char mag_magic_number[] = "MAKI02 "; + static struct {int x,y;} magpostbl[16]={ + {0,0},{1,0},{2,0},{4,0},{0,1},{1,1},{0,2},{1,2}, |