aboutsummaryrefslogtreecommitdiff
path: root/graphics/xpx
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-18 14:49:13 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-18 14:49:13 +0000
commit0ab65583b787aa275db605b30b164a4ac0e1c53d (patch)
treeb2a9968d0a399348902ee8e81f474d02bed8ea6f /graphics/xpx
parent0a1305413788a57344a47b461b2e3725dab7e223 (diff)
downloadports-0ab65583b787aa275db605b30b164a4ac0e1c53d.tar.gz
ports-0ab65583b787aa275db605b30b164a4ac0e1c53d.zip
Fix the build with modern GCC.
Reported by: pointyhat (logs)
Notes
Notes: svn path=/head/; revision=193804
Diffstat (limited to 'graphics/xpx')
-rw-r--r--graphics/xpx/files/patch-aa21
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},