diff options
author | joerg <joerg@pkgsrc.org> | 2012-12-22 20:01:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-12-22 20:01:02 +0000 |
commit | 51ed9992cfd43ae2db7239b75ecd3d0cb6934f5f (patch) | |
tree | 813a986f67ea801071af343761f09307f2239a7a /games/alephone | |
parent | b93111d4c5cfbedcb193a4ab188b765967f2823c (diff) | |
download | pkgsrc-51ed9992cfd43ae2db7239b75ecd3d0cb6934f5f.tar.gz |
The patch for lua_templates.h is still needed, so restore it.
Diffstat (limited to 'games/alephone')
-rw-r--r-- | games/alephone/distinfo | 3 | ||||
-rw-r--r-- | games/alephone/patches/patch-Source__Files_Lua_lua__templates.h | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/games/alephone/distinfo b/games/alephone/distinfo index 33077d5aaab..fd866e534fb 100644 --- a/games/alephone/distinfo +++ b/games/alephone/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2012/12/12 10:22:37 wiz Exp $ +$NetBSD: distinfo,v 1.8 2012/12/22 20:01:02 joerg Exp $ SHA1 (AlephOne-20120514.tar.bz2) = 6663237654a6fb9876254ea0f29cf264528b1da6 RMD160 (AlephOne-20120514.tar.bz2) = eebeb14bbd43574530d67d0a48b0dde7b7db3edc Size (AlephOne-20120514.tar.bz2) = 4716348 bytes +SHA1 (patch-Source__Files_Lua_lua__templates.h) = ee38b9aed311958750845e52ce2cb14969f2ee4e 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..9750cef7543 --- /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.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)) |