ports/62096: Maintainer update: games/wesnoth, fix the build on alpha by bento

Jeremy Messenger mezz7 at cox.net
Fri Jan 30 05:10:26 UTC 2004


>Number:         62096
>Category:       ports
>Synopsis:       Maintainer update: games/wesnoth, fix the build on alpha by bento
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 29 21:10:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mezz
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ns1.mezzweb.com 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Jan 29
18:21:22 CST 2004 mezz at mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386

>Description:
Hopeful, it will fix the build on alpha.

Reported by: bento via kris

>How-To-Repeat:
n/a

>Fix:
Add a new file:
	-files/patch-src::widgets::menu.cpp

--- wesnoth.diff begins here ---
diff -urN wesnoth.orig/files/patch-src::widgets::menu.cpp wesnoth/files/patch-src::widgets::menu.cpp
--- wesnoth.orig/files/patch-src::widgets::menu.cpp	Wed Dec 31 18:00:00 1969
+++ wesnoth/files/patch-src::widgets::menu.cpp	Thu Jan 29 22:24:39 2004
@@ -0,0 +1,13 @@
+--- src/widgets/menu.cpp.orig	Thu Jan 29 22:23:06 2004
++++ src/widgets/menu.cpp	Thu Jan 29 22:23:49 2004
+@@ -191,8 +191,8 @@
+ 			x = event.button.x;
+ 			y = event.button.y;
+ 		} else {
+-			x = reinterpret_cast<int>(event.user.data1);
+-			y = reinterpret_cast<int>(event.user.data2);
++			x = (int)event.user.data1;
++			y = (int)event.user.data2;
+ 		}
+ 
+ 		const int item = hit(x,y);
--- wesnoth.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list