summaryrefslogtreecommitdiff
path: root/community/btanks/lua52.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/btanks/lua52.patch
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/btanks/lua52.patch')
-rw-r--r--community/btanks/lua52.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/community/btanks/lua52.patch b/community/btanks/lua52.patch
deleted file mode 100644
index e27d5fdb7..000000000
--- a/community/btanks/lua52.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -wbBur btanks-0.9.8083/engine/luaxx/state.cpp btanks-0.9.8083.my/engine/luaxx/state.cpp
---- btanks-0.9.8083/engine/luaxx/state.cpp 2008-06-08 13:02:39.000000000 +0400
-+++ btanks-0.9.8083.my/engine/luaxx/state.cpp 2012-11-15 18:59:07.000000000 +0400
-@@ -59,7 +59,7 @@
- void State::load(const std::string &fname, const mrt::Chunk &data) {
- //throw_ex(("implement me[%s]", fname.c_str()));
- reader_state x(data);
-- int err = lua_load(state, chunk_reader, &x, fname.c_str());
-+ int err = lua_load(state, chunk_reader, &x, fname.c_str(), NULL);
- check_error(state, err);
- }
-
-@@ -81,7 +81,7 @@
- assert(state == NULL);
-
- //state = lua_newstate(l_alloc, this);
-- state = lua_open();
-+ state = luaL_newstate();
- if (state == NULL)
- throw_ex(("cannot create lua interpreter"));
-