Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2005 13:31:47 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/83394: Update port: games/alienblaster
Message-ID:  <1121272307.0@phobos.mars.bsd>
Resent-Message-ID: <200507131630.j6DGUNsH084844@freefall.freebsd.org>

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

>Number:         83394
>Category:       ports
>Synopsis:       Update port: games/alienblaster
>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:   Wed Jul 13 16:30:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005
    root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE



>Description:





>How-To-Repeat:





>Fix:


--- alienblaster.diff begins here ---
Binary files alienblaster.old/.Makefile.swp and alienblaster/.Makefile.swp differ
diff -urN alienblaster.old/Makefile alienblaster/Makefile
--- alienblaster.old/Makefile	Wed Jul 13 13:27:34 2005
+++ alienblaster/Makefile	Wed Jul 13 13:28:46 2005
@@ -1,5 +1,5 @@
 # New ports collection makefile for:	games/alienblaster
-# Date created:			8 Aug 2005
+# Date created:			8 Jul 2005
 # Whom:				Alejandro Pulver <alejandro@varnet.biz>
 #
 # $FreeBSD: /repoman/r/pcvs/ports/games/alienblaster/Makefile,v 1.1 2005/07/13 13:00:23 pav Exp $
@@ -24,7 +24,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500000
-BROKEN=		"use atoll() interface"
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-atoll
 .endif
 
 post-patch:
diff -urN alienblaster.old/files/extra-patch-atoll alienblaster/files/extra-patch-atoll
--- alienblaster.old/files/extra-patch-atoll	Wed Dec 31 21:00:00 1969
+++ alienblaster/files/extra-patch-atoll	Wed Jul 13 13:05:07 2005
@@ -0,0 +1,11 @@
+--- src/options.cc.orig	Thu Aug 19 13:24:20 2004
++++ src/options.cc	Wed Jul 13 13:02:46 2005
+@@ -150,7 +150,7 @@
+ 
+ bool Options::getUInt(const string keyword, unsigned int &val) {
+   if (exist(keyword)) {
+-    val = atoll( keymap[keyword].c_str() );
++    val = strtoll(keymap[keyword].c_str(), (char **)NULL, 10);
+     return true;
+   }
+   return false;
--- alienblaster.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?1121272307.0>