Date: Thu, 29 Jan 2004 22:39:30 -0600 (CST) From: Jeremy Messenger <mezz7@cox.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62096: Maintainer update: games/wesnoth, fix the build on alpha by bento Message-ID: <200401300439.i0U4dUiL083812@ns1.mezzweb.com> Resent-Message-ID: <200401300510.i0U5AMih009835@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401300439.i0U4dUiL083812>