From 60d8e5257608098bd1d66c44282b04d02c733f75 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 29 Apr 2023 22:01:33 +0200 Subject: [PATCH] package/lua: bump to version 5.4.5 Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- package/lua/5.4.4/lua.hash | 6 ------ package/lua/{5.4.4 => 5.4.5}/0001-root-path.patch | 2 +- package/lua/{5.4.4 => 5.4.5}/0002-shared-libs-for-lua.patch | 2 +- package/lua/{5.4.4 => 5.4.5}/0011-linenoise.patch | 2 +- package/lua/5.4.5/lua.hash | 5 +++++ package/lua/lua.mk | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 package/lua/5.4.4/lua.hash rename package/lua/{5.4.4 => 5.4.5}/0001-root-path.patch (95%) rename package/lua/{5.4.4 => 5.4.5}/0002-shared-libs-for-lua.patch (96%) rename package/lua/{5.4.4 => 5.4.5}/0011-linenoise.patch (97%) create mode 100644 package/lua/5.4.5/lua.hash diff --git a/package/lua/5.4.4/lua.hash b/package/lua/5.4.4/lua.hash deleted file mode 100644 index b55b17f258..0000000000 --- a/package/lua/5.4.4/lua.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Hashes from: https://www.lua.org/ftp/ -md5 bd8ce7069ff99a400efd14cf339a727b lua-5.4.4.tar.gz -sha1 03c27684b9d5d9783fb79a7c836ba1cdc5f309cd lua-5.4.4.tar.gz - -# Locally computed -sha256 2556ac7198243f9f83130b9c81016e1904f7b30351481f1c28e02475dbd237fb doc/readme.html diff --git a/package/lua/5.4.4/0001-root-path.patch b/package/lua/5.4.5/0001-root-path.patch similarity index 95% rename from package/lua/5.4.4/0001-root-path.patch rename to package/lua/5.4.5/0001-root-path.patch index c4f6e312eb..5e3037b786 100644 --- a/package/lua/5.4.4/0001-root-path.patch +++ b/package/lua/5.4.5/0001-root-path.patch @@ -6,7 +6,7 @@ Index: b/src/luaconf.h =================================================================== --- a/src/luaconf.h +++ b/src/luaconf.h -@@ -217,7 +217,7 @@ +@@ -223,7 +223,7 @@ #else /* }{ */ diff --git a/package/lua/5.4.4/0002-shared-libs-for-lua.patch b/package/lua/5.4.5/0002-shared-libs-for-lua.patch similarity index 96% rename from package/lua/5.4.4/0002-shared-libs-for-lua.patch rename to package/lua/5.4.5/0002-shared-libs-for-lua.patch index 4ff2044298..388aa9966a 100644 --- a/package/lua/5.4.4/0002-shared-libs-for-lua.patch +++ b/package/lua/5.4.5/0002-shared-libs-for-lua.patch @@ -31,7 +31,7 @@ Index: b/src/Makefile --- a/src/Makefile +++ b/src/Makefile @@ -33,6 +33,7 @@ - PLATS= guess aix bsd c89 freebsd generic linux linux-readline macosx mingw posix solaris + PLATS= guess aix bsd c89 freebsd generic ios linux linux-readline macosx mingw posix solaris LUA_A= liblua.a +LUA_SO= liblua.so diff --git a/package/lua/5.4.4/0011-linenoise.patch b/package/lua/5.4.5/0011-linenoise.patch similarity index 97% rename from package/lua/5.4.4/0011-linenoise.patch rename to package/lua/5.4.5/0011-linenoise.patch index 68316e108f..5054ae19e2 100644 --- a/package/lua/5.4.4/0011-linenoise.patch +++ b/package/lua/5.4.5/0011-linenoise.patch @@ -8,7 +8,7 @@ Index: b/src/lua.c =================================================================== --- a/src/lua.c +++ b/src/lua.c -@@ -428,6 +428,14 @@ +@@ -438,6 +438,14 @@ #define lua_saveline(L,line) ((void)L, add_history(line)) #define lua_freeline(L,b) ((void)L, free(b)) diff --git a/package/lua/5.4.5/lua.hash b/package/lua/5.4.5/lua.hash new file mode 100644 index 0000000000..5526cd5125 --- /dev/null +++ b/package/lua/5.4.5/lua.hash @@ -0,0 +1,5 @@ +# Hashes from: https://www.lua.org/ftp/ +sha256 59df426a3d50ea535a460a452315c4c0d4e1121ba72ff0bdde58c2ef31d6f444 lua-5.4.5.tar.gz + +# Locally computed +sha256 0d4ee721cf740f9cd878ef82ef75f4f2724dcf0403e56cd0b5643ad88f9de337 doc/readme.html diff --git a/package/lua/lua.mk b/package/lua/lua.mk index 16086e7bf4..ecb86c11ed 100644 --- a/package/lua/lua.mk +++ b/package/lua/lua.mk @@ -5,7 +5,7 @@ ################################################################################ ifeq ($(BR2_PACKAGE_LUA_5_4),y) -LUA_VERSION = 5.4.4 +LUA_VERSION = 5.4.5 else ifeq ($(BR2_PACKAGE_LUA_5_3),y) LUA_VERSION = 5.3.6 else