ports/70122: Update port: x11-wm/ahwm
KATO Tsuguru
tkato432 at yahoo.com
Sat Aug 7 12:10:29 UTC 2004
>Number: 70122
>Category: ports
>Synopsis: Update port: x11-wm/ahwm
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 07 12:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build on -current after gcc 3.4 import
New file:
files/patch-move-resize.c
files/patch-prefs.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/x11-wm/ahwm/files/patch-move-resize.c x11-wm/ahwm/files/patch-move-resize.c
--- /usr/ports/x11-wm/ahwm/files/patch-move-resize.c Thu Jan 1 09:00:00 1970
+++ x11-wm/ahwm/files/patch-move-resize.c Fri Aug 6 21:39:16 2004
@@ -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 -urN /usr/ports/x11-wm/ahwm/files/patch-prefs.c x11-wm/ahwm/files/patch-prefs.c
--- /usr/ports/x11-wm/ahwm/files/patch-prefs.c Thu Jan 1 09:00:00 1970
+++ x11-wm/ahwm/files/patch-prefs.c Fri Aug 6 21:37:08 2004
@@ -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 */
+ }
+ }
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list