summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg>2012-07-03 18:45:14 +0000
committerjoerg <joerg>2012-07-03 18:45:14 +0000
commitd3ebea4f3fdf9f99937e380d644f593b27967fbb (patch)
tree76b17d11ca136783a71f1ac1892f779dc2ea1f84 /games
parent39864effe6c6f38e573a0c56bd8a2a98c924fe1a (diff)
downloadpkgsrc-d3ebea4f3fdf9f99937e380d644f593b27967fbb.tar.gz
Fix template look up.
Diffstat (limited to 'games')
-rw-r--r--games/alephone/distinfo3
-rw-r--r--games/alephone/patches/patch-Source__Files_Lua_lua__templates.h13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/alephone/distinfo b/games/alephone/distinfo
index 7a71f2f7d1f..b974a626098 100644
--- a/games/alephone/distinfo
+++ b/games/alephone/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2011/09/25 19:47:38 joerg Exp $
+$NetBSD: distinfo,v 1.6 2012/07/03 18:45:14 joerg Exp $
SHA1 (AlephOne-20100424.tar.bz2) = 3d3989703ccb1b5e8a6b6ab0028956f433e4f846
RMD160 (AlephOne-20100424.tar.bz2) = cc6e0491b0aa7febd854c560c5df56c0a660c757
Size (AlephOne-20100424.tar.bz2) = 3180896 bytes
SHA1 (patch-Source_Files-Network-Metaserver-network_metaserver.h) = 8562a2845f7c1cb969f5d8cbd5f4432cd6c852f0
SHA1 (patch-Source_Files-RenderOther-IMG_savepng.c) = d031268154af7720d036c4ff54766bd755582cfe
+SHA1 (patch-Source__Files_Lua_lua__templates.h) = 2c1963953f4b81c68a2916e3cc7b6c6ea5145490
diff --git a/games/alephone/patches/patch-Source__Files_Lua_lua__templates.h b/games/alephone/patches/patch-Source__Files_Lua_lua__templates.h
new file mode 100644
index 00000000000..7f60e415620
--- /dev/null
+++ b/games/alephone/patches/patch-Source__Files_Lua_lua__templates.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-Source__Files_Lua_lua__templates.h,v 1.1 2012/07/03 18:45:14 joerg Exp $
+
+--- Source_Files/Lua/lua_templates.h.orig 2012-07-03 09:27:35.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))