From e9ecf73769a83303266196e23552ce633f796847 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sat, 7 Aug 2004 19:18:57 +0000 Subject: Fix build with gcc-3.4.2 PR: ports/70122 Submitted by: Ports Fury --- x11-wm/ahwm/files/patch-move-resize.c | 36 +++++++++++++++++++++++++++++++++++ x11-wm/ahwm/files/patch-prefs.c | 20 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 x11-wm/ahwm/files/patch-move-resize.c create mode 100644 x11-wm/ahwm/files/patch-prefs.c (limited to 'x11-wm') 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 000000000000..f29e945ec28e --- /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 000000000000..b1b665435d41 --- /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 */ + } + } + -- cgit v1.2.3