summaryrefslogtreecommitdiffstats
path: root/package/luarocks/0001-allow-libluajit-detection.patch
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2018-08-16 09:30:49 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-16 11:58:08 +0200
commita5374ceeeeca5b68e636a2cf2bc1b5cde451bd67 (patch)
tree734c886f4a78221a2e17d79a05e82599f0b01bae /package/luarocks/0001-allow-libluajit-detection.patch
parentb7143338d0a9935cb1978c31cd7ba9135edf384f (diff)
downloadbuildroot-a5374ceeeeca5b68e636a2cf2bc1b5cde451bd67.tar.gz
buildroot-a5374ceeeeca5b68e636a2cf2bc1b5cde451bd67.zip
luarocks: bump to version 3.0.1
The meaning of --sysconfdir has changed (see announcement http://lua-users.org/lists/lua-l/2018-08/msg00101.html), So, LUAROCKS_CONFIG_DIR & LUAROCKS_CONFIG_FILE are adjusted. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/luarocks/0001-allow-libluajit-detection.patch')
-rw-r--r--package/luarocks/0001-allow-libluajit-detection.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/luarocks/0001-allow-libluajit-detection.patch b/package/luarocks/0001-allow-libluajit-detection.patch
index c5e52f4281..05d025bba2 100644
--- a/package/luarocks/0001-allow-libluajit-detection.patch
+++ b/package/luarocks/0001-allow-libluajit-detection.patch
@@ -6,6 +6,8 @@ Subject: [PATCH] allow libluajit detection
This detection was done only if luarocks is runned by luajit.
But on Buildroot, luarocks is always runned by lua.
+See https://github.com/luarocks/luarocks/pull/883
+
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
src/luarocks/deps.lua | 4 +---
@@ -15,7 +17,7 @@ diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index 8403f12..c1c0220 100644
--- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua
-@@ -511,10 +511,8 @@ function deps.check_lua(vars)
+@@ -513,10 +513,8 @@ function deps.check_lua(vars)
"lua-" .. cfg.lua_version,
"lua-" .. shortv,
"lua",
OpenPOWER on IntegriCloud