diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-10 05:46:12 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-10 05:46:12 +0000 |
commit | 394715c229fb75604f813c39f24430159023a31c (patch) | |
tree | fee21459727ea85bfb7a2c999d26a47747b415a9 /main/lua-posix/0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch | |
parent | e85b4e9ec001bd6a30ed3812b65e99c475e56365 (diff) | |
download | aports-394715c229fb75604f813c39f24430159023a31c.tar.bz2 aports-394715c229fb75604f813c39f24430159023a31c.tar.xz |
main/lua-posix: fix musl build
fix lua-version.patch to have proper escape for dot, and use the patch.
need to also autoregen configury for it to take affect.
Diffstat (limited to 'main/lua-posix/0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch')
-rw-r--r-- | main/lua-posix/0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/main/lua-posix/0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch b/main/lua-posix/0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch deleted file mode 100644 index c6fffd54f..000000000 --- a/main/lua-posix/0001-Removed-Lua-5.2-functions-lua_len-and-lua_tointegerx.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 9f6c2a8fe34db847df957e55e0375b5cf15a44b9 Mon Sep 17 00:00:00 2001 -From: nmcveity <nmcveity@gmail.com> -Date: Mon, 4 Mar 2013 22:49:27 -0800 -Subject: [PATCH] Removed Lua 5.2 functions lua_len and lua_tointegerx - -This fixes issue #71. ---- - lposix.c | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -diff --git a/lposix.c b/lposix.c -index ffd3c57..bf5accb 100644 ---- a/lposix.c -+++ b/lposix.c -@@ -901,11 +901,7 @@ static int runexec(lua_State *L, int use_shell) - const char *path = luaL_checkstring(L, 1); - int i,n=lua_gettop(L), table = 0; - if (n >= 1 && lua_type(L, 2) == LUA_TTABLE) { -- int isint; -- lua_len(L, 2); -- n = lua_tointegerx(L, -1, &isint); -- if (!isint) -- luaL_error(L, "argument 2 is a table, but has non-numeric length"); -+ n = lua_objlen(L, 2); - table = 1; - } else - n--; --- -1.8.1.5 - |