ports/70121: Update port: x11-wm/aewm++

KATO Tsuguru tkato432 at yahoo.com
Sat Aug 7 12:10:29 UTC 2004


>Number:         70121
>Category:       ports
>Synopsis:       Update port: x11-wm/aewm++
>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-windowmanager.cc

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-wm/aewm++/files/patch-windowmanager.cc x11-wm/aewm++/files/patch-windowmanager.cc
--- /usr/ports/x11-wm/aewm++/files/patch-windowmanager.cc	Thu Jan  1 09:00:00 1970
+++ x11-wm/aewm++/files/patch-windowmanager.cc	Thu Aug  5 20:07:41 2004
@@ -0,0 +1,15 @@
+--- windowmanager.cc.orig	Thu May 15 10:44:12 2003
++++ windowmanager.cc	Thu Aug  5 20:07:05 2004
+@@ -623,9 +623,10 @@
+ 	}
+ 	if (ks >= XK_1 && ks <= XK_1+(unsigned)max_desktops && ks - XK_1 <= (unsigned)9)  /* no two digit keys */
+  	{
+-                if( (unsigned)current_desktop != ks - XK_1 )
++                unsigned my_current_desktop = (unsigned)current_desktop;
++                if( my_current_desktop != ks - XK_1 )
+ 		{
+-			(unsigned)current_desktop = ks - XK_1;
++			my_current_desktop = ks - XK_1;
+ 			goToDesktop(current_desktop);
+ 		}
+ 	}
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list