Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 11:30:54 +0100
From:      "Pietro Cerutti" <gahr@gahr.ch>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/118281: [patch] games/nil unbreak fix build with GCC 4.2 + adopt maintainship
Message-ID:  <1196159454.67155@gahrtop.localhost>
Resent-Message-ID: <200711271120.lARBK3a3003069@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118281
>Category:       ports
>Synopsis:       [patch] games/nil unbreak fix build with GCC 4.2 + adopt maintainship
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 27 11:20:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 8.0-CURRENT #13: Sun Nov 25 22:03:04 CET 2007
    root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034



>Description:


- fix an "invalid storage class" error
- adopt maintainship

- cleanup warnings will come at a later stage..


>How-To-Repeat:


cd /usr/ports/games/nil && make


>Fix:


--- _nil.diff begins here ---
--- Makefile.orig	2007-11-27 09:55:14.000000000 +0100
+++ Makefile	2007-11-27 10:00:02.000000000 +0100
@@ -13,7 +13,7 @@
 MASTER_SITE_SUBDIR=	${PORTNAME}
 DISTNAME=	${PORTNAME}-cvs-backup-${DISTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	gahr@gahr.ch
 COMMENT=	A multiplayer game like Quake in 2D or Worms done right
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
@@ -27,10 +27,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700042
-BROKEN=		Broken with gcc 4.2
-.endif
-
 .if ${ARCH} == "ia64"
 BROKEN=		does not link on ${ARCH}
 .endif
--- /dev/null	2007-11-27 10:11:57.000000000 +0100
+++ files/patch-sr-client-controls_keymapper_bindings.h	2007-11-27 10:00:40.000000000 +0100
@@ -0,0 +1,11 @@
+--- src/client/controls/keymapper_bindings.h.orig	2007-11-27 09:57:16.000000000 +0100
++++ src/client/controls/keymapper_bindings.h	2007-11-27 09:57:37.000000000 +0100
+@@ -112,7 +112,7 @@
+ 	/*! Find a key based on a mouse button
+ 	    @param button The number of the button
+ 	    @return Returns the iterator */
+-	iterator Evtmapper_bindings::find_by_mouse_button(int button);
++	iterator find_by_mouse_button(int button);
+ 	/*! Find a key based on its command function
+ 	    @param cmdfunction The commandfunction we are searching for
+ 	    @return Returns the iterator*/
--- _nil.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?1196159454.67155>