Sat Dec 22 20:01:02 2012 UTC ()
The patch for lua_templates.h is still needed, so restore it.
(joerg)
diff -r1.7 -r1.8 pkgsrc/games/alephone/distinfo
diff -r0 -r1.3 pkgsrc/games/alephone/patches/patch-Source__Files_Lua_lua__templates.h
--- pkgsrc/games/alephone/distinfo 2012/12/12 10:22:37 1.7
+++ pkgsrc/games/alephone/distinfo 2012/12/22 20:01:02 1.8
| @@ -1,5 +1,6 @@ | | | @@ -1,5 +1,6 @@ |
1 | $NetBSD: distinfo,v 1.7 2012/12/12 10:22:37 wiz Exp $ | | 1 | $NetBSD: distinfo,v 1.8 2012/12/22 20:01:02 joerg Exp $ |
2 | | | 2 | |
3 | SHA1 (AlephOne-20120514.tar.bz2) = 6663237654a6fb9876254ea0f29cf264528b1da6 | | 3 | SHA1 (AlephOne-20120514.tar.bz2) = 6663237654a6fb9876254ea0f29cf264528b1da6 |
4 | RMD160 (AlephOne-20120514.tar.bz2) = eebeb14bbd43574530d67d0a48b0dde7b7db3edc | | 4 | RMD160 (AlephOne-20120514.tar.bz2) = eebeb14bbd43574530d67d0a48b0dde7b7db3edc |
5 | Size (AlephOne-20120514.tar.bz2) = 4716348 bytes | | 5 | Size (AlephOne-20120514.tar.bz2) = 4716348 bytes |
| | | 6 | SHA1 (patch-Source__Files_Lua_lua__templates.h) = ee38b9aed311958750845e52ce2cb14969f2ee4e |
$NetBSD: patch-Source__Files_Lua_lua__templates.h,v 1.3 2012/12/22 20:01:02 joerg Exp $
--- Source_Files/Lua/lua_templates.h.orig 2012-12-22 18:58:20.000000000 +0000
+++ Source_Files/Lua/lua_templates.h
@@ -496,7 +496,7 @@ public:
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))