summaryrefslogtreecommitdiffstats
path: root/package/luaposix/luaposix-remove-lua-header-check.patch
diff options
context:
space:
mode:
authorAssaf Inbal <shmuelzon@gmail.com>2013-06-20 07:40:50 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-20 12:04:39 +0200
commit6618ab94361a978dbbf0545c2ac5cac5be8f64ac (patch)
tree4af4792e2be218ac3eeeb5d1206e69f1b280180e /package/luaposix/luaposix-remove-lua-header-check.patch
parenta869bf8c84cda6d7b21950a6653ad9a80b90be4f (diff)
downloadbuildroot-novena-6618ab94361a978dbbf0545c2ac5cac5be8f64ac.tar.gz
buildroot-novena-6618ab94361a978dbbf0545c2ac5cac5be8f64ac.zip
luaposix: New package
Luaposix is a Lua frontend to posix functions. Signed-off-by: Assaf Inbal <shmuelzon@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/luaposix/luaposix-remove-lua-header-check.patch')
-rw-r--r--package/luaposix/luaposix-remove-lua-header-check.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/luaposix/luaposix-remove-lua-header-check.patch b/package/luaposix/luaposix-remove-lua-header-check.patch
new file mode 100644
index 000000000..7909b9175
--- /dev/null
+++ b/package/luaposix/luaposix-remove-lua-header-check.patch
@@ -0,0 +1,16 @@
+Checking the Lua version inside the headers requires compiling a small
+C program. However, autoconf will raise an error when attempting to do so
+while cross-compiling. Hence, this specific test is removed.
+
+Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
+--- a/configure.ac 2013-06-20 07:23:27.943091833 +0300
++++ b/configure.ac 2013-06-20 07:23:30.644441710 +0300
+@@ -105,7 +105,7 @@
+
+ dnl Lua 5.1 or 5.2
+ AX_PROG_LUA(501, 503)
+ AX_LUA_HEADERS
+-AX_LUA_HEADERS_VERSION(501, 503)
++#AX_LUA_HEADERS_VERSION(501, 503)
+ AC_SUBST(LUA)
+ AC_SUBST(LUA_INCLUDE)