https://lua.org/manual/5.5/readme.html#changes

The patches needed a slight adjustment to apply.

The license checksum changed due to the year being changed from 2025 to
2026.

Signed-off-by: Sven Püschel <[email protected]>
---
 .../0001-Cross-compile-in-ptxdist-envirionment.patch | 12 ++++++------
 .../0002-Install-pkgconfig-file.patch                |  2 +-
 patches/{lua-5.4.8 => lua-5.5.1}/series              |  0
 rules/lua.make                                       |  6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)
 rename patches/{lua-5.4.8 => 
lua-5.5.1}/0001-Cross-compile-in-ptxdist-envirionment.patch (89%)
 rename patches/{lua-5.4.8 => lua-5.5.1}/0002-Install-pkgconfig-file.patch (97%)
 rename patches/{lua-5.4.8 => lua-5.5.1}/series (100%)

diff --git a/patches/lua-5.4.8/0001-Cross-compile-in-ptxdist-envirionment.patch 
b/patches/lua-5.5.1/0001-Cross-compile-in-ptxdist-envirionment.patch
similarity index 89%
rename from patches/lua-5.4.8/0001-Cross-compile-in-ptxdist-envirionment.patch
rename to patches/lua-5.5.1/0001-Cross-compile-in-ptxdist-envirionment.patch
index 7b72d7a43..c356d9292 100644
--- a/patches/lua-5.4.8/0001-Cross-compile-in-ptxdist-envirionment.patch
+++ b/patches/lua-5.5.1/0001-Cross-compile-in-ptxdist-envirionment.patch
@@ -9,7 +9,7 @@ Signed-off-by: Denis Osterland <[email protected]>
  2 files changed, 17 insertions(+), 11 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index fef1af4821e6..3c169540fea4 100644
+index 292b4c3d985f..48e00add1c43 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -4,13 +4,13 @@
@@ -28,7 +28,7 @@ index fef1af4821e6..3c169540fea4 100644
  INSTALL_BIN= $(INSTALL_TOP)/bin
  INSTALL_INC= $(INSTALL_TOP)/include
  INSTALL_LIB= $(INSTALL_TOP)/lib
-@@ -52,13 +52,17 @@ R= $V.4
+@@ -52,13 +52,17 @@ R= $V.1
  all:  $(PLAT)
  
  $(PLATS) help test clean:
@@ -48,7 +48,7 @@ index fef1af4821e6..3c169540fea4 100644
  
  uninstall:
 diff --git a/src/Makefile b/src/Makefile
-index 1907381fef0a..e53fd31d3383 100644
+index 317cb85454e8..c9d7e2870ccb 100644
 --- a/src/Makefile
 +++ b/src/Makefile
 @@ -4,15 +4,13 @@
@@ -59,8 +59,8 @@ index 1907381fef0a..e53fd31d3383 100644
 +PLAT= linux
  
 -CC= gcc -std=gnu99
--CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) $(MYCFLAGS)
-+CFLAGS= -std=gnu99 -fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) 
$(MYCFLAGS)
+-CFLAGS= -O2 -Wall -Wextra $(SYSCFLAGS) $(MYCFLAGS)
++CFLAGS= -std=gnu99 -fPIC -O2 -Wall -Wextra $(SYSCFLAGS) $(MYCFLAGS)
  LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
  LIBS= -lm $(SYSLIBS) $(MYLIBS)
  
@@ -71,7 +71,7 @@ index 1907381fef0a..e53fd31d3383 100644
  UNAME= uname
  
 @@ -33,6 +31,7 @@ CMCFLAGS=
- 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.$R
diff --git a/patches/lua-5.4.8/0002-Install-pkgconfig-file.patch 
b/patches/lua-5.5.1/0002-Install-pkgconfig-file.patch
similarity index 97%
rename from patches/lua-5.4.8/0002-Install-pkgconfig-file.patch
rename to patches/lua-5.5.1/0002-Install-pkgconfig-file.patch
index a3bbad59e..6ef3b89bd 100644
--- a/patches/lua-5.4.8/0002-Install-pkgconfig-file.patch
+++ b/patches/lua-5.5.1/0002-Install-pkgconfig-file.patch
@@ -10,7 +10,7 @@ Signed-off-by: Denis Osterland <[email protected]>
  create mode 100644 lua.pc.in
 
 diff --git a/Makefile b/Makefile
-index 3c169540fea4..cf428cedcff4 100644
+index 48e00add1c43..28d981a8a70d 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -54,8 +54,8 @@ all: $(PLAT)
diff --git a/patches/lua-5.4.8/series b/patches/lua-5.5.1/series
similarity index 100%
rename from patches/lua-5.4.8/series
rename to patches/lua-5.5.1/series
diff --git a/rules/lua.make b/rules/lua.make
index b84703250..14811521a 100644
--- a/rules/lua.make
+++ b/rules/lua.make
@@ -15,15 +15,15 @@ PACKAGES-$(PTXCONF_LUA) += lua
 #
 # Paths and names
 #
-LUA_VERSION    := 5.4.8
-LUA_SHA256     := 
4f18ddae154e793e46eeab727c59ef1c0c0c2b744e7b94219710d76f530629ae
+LUA_VERSION    := 5.5.1
+LUA_SHA256     := 
1c4b4068d67061f2a2231ad2b5422e77acea1487ea9890f6320af614f4373dce
 LUA            := lua-$(LUA_VERSION)
 LUA_SUFFIX     := tar.gz
 LUA_URL                := https://www.lua.org/ftp/$(LUA).$(LUA_SUFFIX)
 LUA_SOURCE     := $(SRCDIR)/$(LUA).$(LUA_SUFFIX)
 LUA_DIR                := $(BUILDDIR)/$(LUA)
 LUA_LICENSE    := MIT
-LUA_LICENSE_FILES := 
file://src/lua.h;startline=499;endline=520;md5=618f134673964dd3d19cc334898f645a
+LUA_LICENSE_FILES := 
file://src/lua.h;startline=523;endline=544;md5=bd40ca17653e280d236bbec3871ff5a7
 
 # ----------------------------------------------------------------------------
 # Prepare
-- 
2.47.3


Reply via email to