* [ptxdist] [PATCH] lua: version bump 5.4.8 -> 5.5.1
@ 2026-10-12 16:27 Sven Püschel
2026-10-15 5:58 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Sven Püschel @ 2026-10-12 16:27 UTC (permalink / raw)
To: ptxdist; +Cc: Sven Püschel
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 <s.pueschel@pengutronix.de>
---
.../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 <Denis.Osterland@diehl.com>
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 <Denis.Osterland@diehl.com>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] lua: version bump 5.4.8 -> 5.5.1
2026-10-12 16:27 [ptxdist] [PATCH] lua: version bump 5.4.8 -> 5.5.1 Sven Püschel
@ 2026-10-15 5:58 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-10-15 5:58 UTC (permalink / raw)
To: ptxdist; +Cc: Sven Püschel
Thanks, applied as df3e95ffc34fbeacf731f30bd021648c46284d68.
Michael
[sent from post-receive hook]
On Thu, 15 Oct 2026 07:58:05 +0200, Sven Püschel <s.pueschel@pengutronix.de> wrote:
> 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 <s.pueschel@pengutronix.de>
> Message-Id: <20261012162712.3124618-1-s.pueschel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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 7b72d7a4377f..c356d9292dd8 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 <Denis.Osterland@diehl.com>
> 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 a3bbad59e99a..6ef3b89bd713 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 <Denis.Osterland@diehl.com>
> 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 b847032505b7..14811521aca0 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-15 5:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 16:27 [ptxdist] [PATCH] lua: version bump 5.4.8 -> 5.5.1 Sven Püschel
2026-10-15 5:58 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox