summaryrefslogtreecommitdiff
path: root/pcr/libubox-lua-git/001-lua-version.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 07:17:41 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 07:17:41 -0500
commita9f69cfa08723f8abf5608329437ca5a4205b067 (patch)
tree7440b87de8c24a3196c3a0788902a8f44e7079c5 /pcr/libubox-lua-git/001-lua-version.patch
parentccf43c8655091c9c3e10d3ffdf13a047aa5ef83e (diff)
libubox-lua-git-r340.791a361-1: updating version
Diffstat (limited to 'pcr/libubox-lua-git/001-lua-version.patch')
-rw-r--r--pcr/libubox-lua-git/001-lua-version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/libubox-lua-git/001-lua-version.patch b/pcr/libubox-lua-git/001-lua-version.patch
new file mode 100644
index 000000000..2cde4b36b
--- /dev/null
+++ b/pcr/libubox-lua-git/001-lua-version.patch
@@ -0,0 +1,11 @@
+--- a/lua/CMakeLists.txt
++++ b/lua/CMakeLists.txt
+@@ -24,7 +24,7 @@
+
+ IF(NOT LUAPATH)
+ EXECUTE_PROCESS(
+- COMMAND lua -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end"
++ COMMAND lua5.1 -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end"
+ OUTPUT_VARIABLE LUAPATH
+ RESULT_VARIABLE LUA_CHECK_RES
+ OUTPUT_STRIP_TRAILING_WHITESPACE