summaryrefslogtreecommitdiffstats
path: root/x11-wm/evilwm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-22 20:33:23 +0000
committerkrion <krion@FreeBSD.org>2004-08-22 20:33:23 +0000
commitbc787095da27c8fc7b84ae25d34cce21932ea27c (patch)
tree8598b8c4bb5cf1ecbba25e3684bdaeb13d8d57e1 /x11-wm/evilwm
parent6837944d38df6eab7e7d05ace44b0fc587a0bd7d (diff)
downloadFreeBSD-ports-bc787095da27c8fc7b84ae25d34cce21932ea27c.zip
FreeBSD-ports-bc787095da27c8fc7b84ae25d34cce21932ea27c.tar.gz
Fix build with gcc-3.4
Diffstat (limited to 'x11-wm/evilwm')
-rw-r--r--x11-wm/evilwm/files/patch-main.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/x11-wm/evilwm/files/patch-main.c b/x11-wm/evilwm/files/patch-main.c
index bce669c..c399d50 100644
--- a/x11-wm/evilwm/files/patch-main.c
+++ b/x11-wm/evilwm/files/patch-main.c
@@ -1,11 +1,9 @@
-$FreeBSD$
-main.c: In function `main':
-main.c:92: error: `opt_snap' undeclared (first use in this function)
+$FreeBSD$
---- main.c.orig Wed Oct 15 11:48:23 2003
-+++ main.c Fri Oct 24 05:09:42 2003
-@@ -37,9 +37,7 @@ int opt_bw = DEF_BW;
+--- main.c.orig Wed Oct 15 13:48:23 2003
++++ main.c Sun Aug 22 22:32:26 2004
+@@ -37,9 +37,7 @@
const char *opt_fc = DEF_FC;
int vdesk = KEY_TO_VDESK(XK_1);
#endif
@@ -15,3 +13,11 @@ main.c:92: error: `opt_snap' undeclared (first use in this function)
#ifdef SHAPE
int have_shape, shape_event;
#endif
+@@ -159,6 +157,7 @@
+ handle_shape_event((XShapeEvent *)&ev);
+ }
+ #endif
++ break;
+ }
+ }
+ return 1;
OpenPOWER on IntegriCloud