diff options
| author | Pawel Pekala <pawel@FreeBSD.org> | 2012-04-22 16:53:23 +0000 |
|---|---|---|
| committer | Pawel Pekala <pawel@FreeBSD.org> | 2012-04-22 16:53:23 +0000 |
| commit | a2ae031ff8bb33938089e2440616eafe346dfc24 (patch) | |
| tree | 452d0a84410b93e94c116c98d4de0e2d33f1b565 /games/alephone/files/patch-Source_Files-Lua-lua_templates.h | |
| parent | - Update to 3.1.0 (diff) | |
- Update to 20120128 (1.0.1)
- Remove USE_LUA (internal interpreter)
- Fix build with clang (from upstream)
PR: ports/167168
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=295266
Diffstat (limited to 'games/alephone/files/patch-Source_Files-Lua-lua_templates.h')
| -rw-r--r-- | games/alephone/files/patch-Source_Files-Lua-lua_templates.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/alephone/files/patch-Source_Files-Lua-lua_templates.h b/games/alephone/files/patch-Source_Files-Lua-lua_templates.h new file mode 100644 index 000000000000..2ba07bdcca2c --- /dev/null +++ b/games/alephone/files/patch-Source_Files-Lua-lua_templates.h @@ -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))
\ No newline at end of file |
