summaryrefslogtreecommitdiffstats
path: root/x11-wm/ahwm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-07 19:18:57 +0000
committerkrion <krion@FreeBSD.org>2004-08-07 19:18:57 +0000
commit05c2d9cfefa5fbec072ad50c0849741229ba5fd1 (patch)
tree197426f49c3e1edf013bc47a73de9a1a2cbdb424 /x11-wm/ahwm
parent6244fdd43d13c11c4d277bd7d49dbe8e3a72e9cb (diff)
downloadFreeBSD-ports-05c2d9cfefa5fbec072ad50c0849741229ba5fd1.zip
FreeBSD-ports-05c2d9cfefa5fbec072ad50c0849741229ba5fd1.tar.gz
Fix build with gcc-3.4.2
PR: ports/70122 Submitted by: Ports Fury
Diffstat (limited to 'x11-wm/ahwm')
-rw-r--r--x11-wm/ahwm/files/patch-move-resize.c36
-rw-r--r--x11-wm/ahwm/files/patch-prefs.c20
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-wm/ahwm/files/patch-move-resize.c b/x11-wm/ahwm/files/patch-move-resize.c
new file mode 100644
index 0000000..f29e945
--- /dev/null
+++ b/x11-wm/ahwm/files/patch-move-resize.c
@@ -0,0 +1,36 @@
+--- move-resize.c.orig Sun Feb 17 04:58:21 2002
++++ move-resize.c Fri Aug 6 21:39:09 2004
+@@ -794,7 +794,8 @@
+ x_start = client->x + client->width;
+ y_start = client->y + client->height;
+ break;
+- default: /* shuts up compiler warning */
++ default:
++ ; /* shuts up compiler warning */
+ }
+ }
+ xrefresh();
+@@ -1056,6 +1057,7 @@
+ *old = WEST;
+ break;
+ default:
++ ;
+ }
+ }
+
+@@ -1200,6 +1202,7 @@
+ }
+ break;
+ default:
++ ;
+ }
+ }
+
+@@ -1236,6 +1239,7 @@
+ }
+ break;
+ default:
++ ;
+ }
+ }
+
diff --git a/x11-wm/ahwm/files/patch-prefs.c b/x11-wm/ahwm/files/patch-prefs.c
new file mode 100644
index 0000000..b1b6654
--- /dev/null
+++ b/x11-wm/ahwm/files/patch-prefs.c
@@ -0,0 +1,20 @@
+--- prefs.c.orig Sun Feb 24 16:31:27 2002
++++ prefs.c Fri Aug 6 21:36:57 2004
+@@ -642,7 +642,7 @@
+ mouseunbinding_apply(client, lp->line_value.mouseunbinding);
+ break;
+ default:
+- /* nothing */
++ ; /* nothing */
+ }
+ }
+ }
+@@ -839,7 +839,7 @@
+ p->raise_delay_set = opt->option_setting;
+ break;
+ default:
+- /* nothing */
++ ; /* nothing */
+ }
+ }
+
OpenPOWER on IntegriCloud