From 394715c229fb75604f813c39f24430159023a31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 10 Oct 2013 05:46:12 +0000 Subject: 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. --- main/lua-posix/lua-version.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/lua-posix/lua-version.patch') 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]) -- cgit v1.2.3