Commit Graph
12 Commits
Author SHA1 Message Date
Josef Schlehofer f8b35d48b9 luajit2: update to 2026-07-31
Also refresh 020-riscv64-support.patch from the current state of
openresty/luajit2#236. The previous snapshot defined
asm_tail_prep(ASMState *as), but since openresty/luajit2 commit
68354f44 the callers pass a second TraceNo argument, so the riscv64
build failed with:

  lj_asm.c:2559:5: error: too many arguments to function 'asm_tail_prep'

The refreshed patch carries the upstream adaptation and restores the
build. The other four patches apply unchanged.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 578758e1f6)
2026-08-15 12:27:31 +02:00
Josef Schlehofer a6a052ee8c luajit2: fix build and runtime on powerpc
luajit2 currently fails to link for powerpc: lj_vm.o emits PLT calls
that force BSS-PLT, which the inline-PLT relocations emitted by GCC 12
and newer do not support. Add the same GOT-based fix that
lang/lua/luajit has carried as 060-ppc-musl.patch since 2019.

With that in place the package builds, but ipairs() and pairs() turn
out to be broken on 32-bit big-endian soft-float targets. Both are
regressions in luajit2's PPC64 patch and do not affect upstream
LuaJIT. To be submitted to openresty/luajit2 as well.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit a6b248d6b8)
2026-08-15 12:27:31 +02:00
Seo Suchan f0c97a4f8b luajit2: update test-version.sh to actual test
old just disabled version test, but as LuaJIt 2.1. part is stable.
So we can use that for test if luajit2 itself able to run.

Fixes: c7ca6d46f7 luajit2: ("add test-version.sh")
Suggested-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
(cherry picked from commit 5504291b81)
2026-08-15 12:27:31 +02:00
Seo Suchan 064e33e045 luajit2: add test-version.sh
luajit2 use build number at -v, but releases are named by date

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
(cherry picked from commit c7ca6d46f7)
2026-08-15 12:27:31 +02:00
Javier Marcet 4b017dedf3 luajit2: update to v2.1-20260227
For changes, see tagged commit:
https://github.com/openresty/luajit2/releases/tag/v2.1-20260227

Signed-off-by: Javier Marcet <javier@marcet.info>
(cherry picked from commit 1b59cb61a7)
2026-08-15 12:27:31 +02:00
Yanase Yuki ba6b5493a6 lua-lzlib: remove package
This software seems no longer maintained.
The latest upstream commit is 11 years ago,
and upstream repo has been archived.
No package depends on this.

Signed-off-by: Yanase Yuki <dev@zpc.st>
(cherry picked from commit 670f4c023e)
2026-01-28 20:59:53 +02:00
Josef Schlehofer 1963efd55e luajit2: add riscv64 support
This adds support RISC-V64 to luajit2 by backporting
https://redirect.github.com/openresty/luajit2/pull/236

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 47525f3300)
2025-12-29 12:46:45 +01:00
Christian Marangi 600672b655 lua-ev: add pending patch for CMake >= 4.0 support
Add pending patch for CMake >= 4.0 support. This seems to come from an
OpenSUSE PR and generally modernize the CMake file also increasing the
minimum version for CMake.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-25 10:38:04 +01:00
Christian Marangi 1e1cc2d134 lzmq: add patch for CMake >= 4.0 support
Add patch for lzmq for CMake >= 4.0 support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-23 23:48:59 +01:00
Christian Marangi 7b0f7cf705 lualanes: bump to version 3.17.2 and backport CMake >= 4.0 support
Bump lualanes to version 3.17.2 and backport upstream patch for CMake >=
4.0 support.

Apply minor modification to the backport patch as the project moved to
C++ but the 3.17.2 version is still C based.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-23 15:16:25 +01:00
Jianhui Zhao 0c79e46f4e lua-eco: update to 3.14.0
A new module `net` added since this version.

changelog: https://github.com/zhaojh329/lua-eco/releases/tag/v3.14.0

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2025-11-18 06:26:00 +02:00
Alexandru Ardelean 7eebedcdfc lua: move Lua packages under lang/lua sub-folder
There are roughly 50 Lua packages.
It's about time we consider a proposal for moving all of them
under a lang/lua sub-folder.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-17 08:46:33 +02:00