package/luarocks: bump to version 3.2.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2019-09-10 05:30:07 +02:00 committed by Thomas Petazzoni
parent 5e0b1f9c23
commit 41278d88e3
3 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
From 961269271134e711bcfffebb0f179ffddcbf3d5a Mon Sep 17 00:00:00 2001 From fedd1259e47a6f6cb97bce8c9bf31eeb261b93be Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org> From: Francois Perrad <francois.perrad@gadz.org>
Date: Sun, 29 Jul 2018 11:17:34 +0200 Date: Sat, 27 Jul 2019 15:26:26 +0200
Subject: [PATCH] allow libluajit detection Subject: [PATCH] allow libluajit detection
This detection was done only if luarocks is runned by luajit. This detection was done only if luarocks is runned by luajit.
@ -14,21 +14,21 @@ Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
1 file changed, 1 insertion(+), 3 deletions(-) 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index 8403f12..c1c0220 100644 index cb85764..02cdda6 100644
--- a/src/luarocks/deps.lua --- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua
@@ -544,10 +544,8 @@ function deps.check_lua(vars) @@ -555,10 +555,8 @@ function deps.check_lua_libdir(vars)
"lua-" .. cfg.lua_version, "lua-" .. cfg.lua_version,
"lua-" .. shortv, "lua-" .. shortv,
"lua", "lua",
+ "luajit-" .. cfg.lua_version, + "luajit-" .. cfg.lua_version,
} }
- if cfg.luajit_version then - if ljv then
- table.insert(libnames, 1, "luajit-" .. cfg.lua_version) - table.insert(libnames, 1, "luajit-" .. cfg.lua_version)
- end - end
local cache = {} local cache = {}
for _, libname in ipairs(libnames) do for _, libname in ipairs(libnames) do
local ok = check_external_dependency("LUA", { library = libname }, vars, "build", cache) local ok = check_external_dependency("LUA", { library = libname }, vars, "build", cache)
-- --
2.17.1 2.20.1

View File

@ -1,3 +1,3 @@
# Locally calculated # Locally calculated
sha256 c573435f495aac159e34eaa0a3847172a2298eb6295fcdc35d565f9f9b990513 luarocks-3.1.3.tar.gz sha256 f27e20c9cdb3ffb991ccdb85796c36a0690566676f8e1a59b0d0ee6598907d04 luarocks-3.2.1.tar.gz
sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING

View File

@ -4,7 +4,7 @@
# #
################################################################################ ################################################################################
LUAROCKS_VERSION = 3.1.3 LUAROCKS_VERSION = 3.2.1
LUAROCKS_SITE = http://luarocks.org/releases LUAROCKS_SITE = http://luarocks.org/releases
LUAROCKS_LICENSE = MIT LUAROCKS_LICENSE = MIT
LUAROCKS_LICENSE_FILES = COPYING LUAROCKS_LICENSE_FILES = COPYING