ports/167168: [update]games/alephone
Green DOG
fiziologus at gmail.com
Sat Apr 21 14:30:13 UTC 2012
>Number: 167168
>Category: ports
>Synopsis: [update]games/alephone
>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 Apr 21 14:30:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Green DOG
>Release: FreeBSD-9.0
>Organization:
>Environment:
>Description:
update to 20120128 (1.0.1) -- thanks Winston Weinert
no USE_LUA (internal interpreter)
fix build with clang (from upstream)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN alephone.new/Makefile alephone/Makefile
--- alephone.new/Makefile 2012-02-18 14:17:36.000000000 +0400
+++ alephone/Makefile 2012-04-21 18:18:22.000000000 +0400
@@ -6,10 +6,10 @@
#
PORTNAME= alephone
-PORTVERSION= 20111201
+PORTVERSION= 20120128
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= SF/marathon/Aleph%20One/2011-12-01
+MASTER_SITES= SF/marathon/Aleph%20One/2012-01-28
DISTNAME= AlephOne-${PORTVERSION}
MAINTAINER= fiziologus at gmail.com
@@ -22,11 +22,9 @@
USE_BZIP2= yes
USE_SDL+= image net sdl sound
USE_GL= yes
-USE_LUA= 5.1
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-alsa --disable-sndfile
-CONFIGURE_ENV= PKG_CONFIG="${PKG_CONFIG}"
DATADIR= ${PREFIX}/share/AlephOne
diff -ruN alephone.new/distinfo alephone/distinfo
--- alephone.new/distinfo 2011-12-19 23:42:09.000000000 +0400
+++ alephone/distinfo 2012-04-21 17:38:17.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (AlephOne-20111201.tar.bz2) = c844b347cdba3bcfba33cf459aa94bcc7729f8865b5cfdb688da24262a918fca
-SIZE (AlephOne-20111201.tar.bz2) = 4576989
+SHA256 (AlephOne-20120128.tar.bz2) = 45a65f34074b93358bbba2e2f1232324f850f7f7d1a20512363d411e5c46298a
+SIZE (AlephOne-20120128.tar.bz2) = 4578336
diff -ruN alephone.new/files/patch-Source_Files-Lua-lua_templates.h alephone/files/patch-Source_Files-Lua-lua_templates.h
--- alephone.new/files/patch-Source_Files-Lua-lua_templates.h 1970-01-01 03:00:00.000000000 +0300
+++ alephone/files/patch-Source_Files-Lua-lua_templates.h 2012-04-21 18:08:01.000000000 +0400
@@ -0,0 +1,11 @@
+--- Source_Files/Lua/lua_templates.h.orig 2012-04-21 17:57:45.000000000 +0400
++++ Source_Files/Lua/lua_templates.h 2012-04-21 17:58:22.000000000 +0400
+@@ -496,7 +496,7 @@
+ static index_t ToIndex(lua_State *L, int index) {
+ index_t to;
+ if(lua_isnil(L, index)) return -1;
+- else if(_lookup(L, index, to)) return to;
++ else if(L_Enum<name, index_t>::_lookup(L, index, to)) return to;
+ else {
+ std::string error;
+ if(lua_isnumber(L, index) || lua_isstring(L, index))
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list