From 9922dfa77d883822c41a7aef993850494a3afb60 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 30 May 2022 21:33:42 +0200 Subject: [PATCH] - host-luarocks: bump version to 3.9.0 --- package/luarocks/luarocks.mk | 2 +- ...rocks-0001-allow-libluajit-detection.patch | 34 ------------------- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 package/luarocks/patches/luarocks-0001-allow-libluajit-detection.patch diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk index 08519fb7..4f22106c 100644 --- a/package/luarocks/luarocks.mk +++ b/package/luarocks/luarocks.mk @@ -4,7 +4,7 @@ # ################################################################################ -HOST_LUAROCKS_VERSION = 3.1.3 +HOST_LUAROCKS_VERSION = 3.9.0 HOST_LUAROCKS_DIR = luarocks-$(HOST_LUAROCKS_VERSION) HOST_LUAROCKS_SOURCE = luarocks-$(HOST_LUAROCKS_VERSION).tar.gz HOST_LUAROCKS_SITE = https://luarocks.github.io/luarocks/releases diff --git a/package/luarocks/patches/luarocks-0001-allow-libluajit-detection.patch b/package/luarocks/patches/luarocks-0001-allow-libluajit-detection.patch deleted file mode 100644 index 5a7bc3f5..00000000 --- a/package/luarocks/patches/luarocks-0001-allow-libluajit-detection.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 961269271134e711bcfffebb0f179ffddcbf3d5a Mon Sep 17 00:00:00 2001 -From: Francois Perrad -Date: Sun, 29 Jul 2018 11:17:34 +0200 -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 ---- - src/luarocks/deps.lua | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -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 -@@ -544,10 +544,8 @@ function deps.check_lua(vars) - "lua-" .. cfg.lua_version, - "lua-" .. shortv, - "lua", -+ "luajit-" .. cfg.lua_version, - } -- if cfg.luajit_version then -- table.insert(libnames, 1, "luajit-" .. cfg.lua_version) -- end - local cache = {} - for _, libname in ipairs(libnames) do - local ok = check_external_dependency("LUA", { library = libname }, vars, "build", cache) --- -2.17.1 -