aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/lua-version.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-10 05:46:12 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-10 05:46:12 +0000
commit394715c229fb75604f813c39f24430159023a31c (patch)
treefee21459727ea85bfb7a2c999d26a47747b415a9 /main/lua-posix/lua-version.patch
parente85b4e9ec001bd6a30ed3812b65e99c475e56365 (diff)
downloadaports-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/lua-version.patch')
-rw-r--r--main/lua-posix/lua-version.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/lua-posix/lua-version.patch b/main/lua-posix/lua-version.patch
index e975c6e66e..bdd1ea0bc6 100644
--- a/main/lua-posix/lua-version.patch
+++ b/main/lua-posix/lua-version.patch
@@ -7,7 +7,7 @@
- [ ax_cv_lua_version=`$LUA -e "print(_VERSION)" | \
- sed "s|^Lua \(.*\)|\1|" | \
- grep -o "^@<:@0-9@:>@\+\\.@<:@0-9@:>@\+"`
-+ [ ax_cv_lua_version=`$LUA -e 'print(_VERSION:match("^Lua (%d+\.%d+)$"))'`
++ [ ax_cv_lua_version=`$LUA -e 'print(_VERSION:match("^Lua (%d+%.%d+)$"))'`
])
AS_IF([test "x$ax_cv_lua_version" = 'x'],
[AC_MSG_ERROR([invalid Lua version number])])
@@ -17,7 +17,7 @@
[
- _ax_test_ver=`$1 -e "print(_VERSION)" 2>/dev/null | \
- sed "s|^Lua \(.*\)|\1|" | grep -o "^@<:@0-9@:>@\+\\.@<:@0-9@:>@\+"`
-+ _ax_test_ver=`$1 -e 'print(_VERSION:match("^Lua (%d+\.%d+)$"))' 2>/dev/null`
++ _ax_test_ver=`$1 -e 'print(_VERSION:match("^Lua (%d+%.%d+)$"))' 2>/dev/null`
AS_IF([test "x$_ax_test_ver" = 'x'],
[_ax_test_ver='0'])
AX_COMPARE_VERSION([$_ax_test_ver], [ge], [$2])