aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/lua-version.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-23 08:25:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-23 08:25:08 +0000
commitb2710b57ce5ae024ae6aa2edb56cdc14cdb4831b (patch)
treed02018766dcc5263e7dda70a920cb19b2bf0ad34 /main/lua-posix/lua-version.patch
parentdf54a9303c3c21bee646dd4c5bea948dc20bc92e (diff)
downloadaports-b2710b57ce5ae024ae6aa2edb56cdc14cdb4831b.tar.bz2
aports-b2710b57ce5ae024ae6aa2edb56cdc14cdb4831b.tar.xz
main/lua-posix: upgrade to 32
Diffstat (limited to 'main/lua-posix/lua-version.patch')
-rw-r--r--main/lua-posix/lua-version.patch26
1 files changed, 2 insertions, 24 deletions
diff --git a/main/lua-posix/lua-version.patch b/main/lua-posix/lua-version.patch
index bdd1ea0bc6..df385ccd98 100644
--- a/main/lua-posix/lua-version.patch
+++ b/main/lua-posix/lua-version.patch
@@ -1,33 +1,11 @@
--- ./m4/ax_lua.m4.orig
+++ ./m4/ax_lua.m4
-@@ -257,9 +257,7 @@
- ],
- [ dnl Query Lua for its version number.
- AC_CACHE_CHECK([for $ax_display_LUA version], [ax_cv_lua_version],
-- [ 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+)$"))'`
- ])
- AS_IF([test "x$ax_cv_lua_version" = 'x'],
- [AC_MSG_ERROR([invalid Lua version number])])
-@@ -363,8 +361,7 @@
- dnl =========================================================================
- AC_DEFUN([_AX_LUA_CHK_VER],
- [
-- _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`
- AS_IF([test "x$_ax_test_ver" = 'x'],
- [_ax_test_ver='0'])
- AX_COMPARE_VERSION([$_ax_test_ver], [ge], [$2])
-@@ -487,7 +487,7 @@
+@@ -481,7 +481,7 @@
],
[ ax_cv_lua_header_version=`./conftest$EXEEXT p | \
sed "s|^Lua \(.*\)|\1|" | \
- grep -o "^@<:@0-9@:>@\+\\.@<:@0-9@:>@\+"`
-+ grep -E -o "^@<:@0-9@:>@+\.@<:@0-9@:>@+"`
++ grep -E -o "^@<:@0-9@:>@+\\.@<:@0-9@:>@+"`
],
[ax_cv_lua_header_version='unknown'])
CPPFLAGS=$_ax_lua_saved_cppflags
-