Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2012 14:24:28 GMT
From:      Green DOG <fiziologus@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167168: [update]games/alephone
Message-ID:  <201204211424.q3LEOS0u051819@red.freebsd.org>
Resent-Message-ID: <201204211430.q3LEUDxE075972@freefall.freebsd.org>

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

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204211424.q3LEOS0u051819>