Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua-compat-5.3 for openSUSE:Factory 
checked in at 2026-01-26 10:44:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-compat-5.3 (Old)
 and      /work/SRC/openSUSE:Factory/.lua-compat-5.3.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-compat-5.3"

Mon Jan 26 10:44:43 2026 rev:15 rq:1328829 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-compat-5.3/lua-compat-5.3.changes    
2025-10-27 14:37:12.912239641 +0100
+++ /work/SRC/openSUSE:Factory/.lua-compat-5.3.new.1928/lua-compat-5.3.changes  
2026-01-26 10:57:04.956873236 +0100
@@ -1,0 +2,6 @@
+Thu Jan 22 23:07:16 UTC 2026 - Matej Cepl <[email protected]>
+
+- Add lua55-build.patch and modify `CFLAGS` to make the build
+  working for Lua 5.5.
+
+-------------------------------------------------------------------

New:
----
  lua55-build.patch

----------(New B)----------
  New:
- Add lua55-build.patch and modify `CFLAGS` to make the build
  working for Lua 5.5.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua-compat-5.3.spec ++++++
--- /var/tmp/diff_new_pack.UGgk1p/_old  2026-01-26 10:57:06.224926322 +0100
+++ /var/tmp/diff_new_pack.UGgk1p/_new  2026-01-26 10:57:06.224926322 +0100
@@ -35,6 +35,9 @@
 URL:            https://github.com/lunarmodules/lua-compat-5.3
 Source0:        
https://github.com/lunarmodules/lua-compat-5.3/archive/v%{version}.tar.gz#$/%{mod_name}-%{version}.tar.gz
 Source99:       lua-compat-5.3.rpmlintrc
+# PATCH-FIX-UPSTREAM lua55-build.patch bugno [email protected]
+# Bump the maximum compatibility version to 5.5
+Patch0:         lua55-build.patch
 BuildRequires:  %{flavor}-devel
 BuildRequires:  lua-macros
 BuildRequires:  pkgconfig
@@ -69,13 +72,18 @@
 %endif
 
 %prep
-%autosetup -n %{mod_name}-%{mversion}
+%autosetup -p1 -n %{mod_name}-%{mversion}
 
 %build
-export CC="${COMPILER:-gcc}" DEF="" SRC="" CFLAGS="-Wall -Wextra $(pkg-config 
--cflags lua) -Ic-api -O2 -fPIC"
+CC="${COMPILER:-gcc}" DEF="" SRC="" CFLAGS="-Wall -Wextra $(pkg-config 
--cflags lua) -Ic-api -O2 -fPIC"
+# For compatibility with Lua 5.5, where lua_assert() macro is private
+export CFLAGS="${CFLAGS} -Dlua_assert=assert -include assert.h"
 if [ "x${EXTERNAL:-}" = xtrue ]; then
     export DEF="-DCOMPAT53_PREFIX=compat53" SRC="c-api/compat-5.3.c"
 fi
+# Then use it in your build commands
+gcc $CFLAGS -shared -o utf8.so lutf8lib.c
+gcc $CFLAGS -shared -o table.so ltablib.c
 gcc ${CFLAGS} -Iinclude ${DEF} -shared -o utf8.so lutf8lib.c
 gcc ${CFLAGS} -Iinclude ${DEF} -shared -o table.so ltablib.c
 gcc ${CFLAGS} -Iinclude ${DEF} -shared -o string.so lstrlib.c

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.UGgk1p/_old  2026-01-26 10:57:06.260927829 +0100
+++ /var/tmp/diff_new_pack.UGgk1p/_new  2026-01-26 10:57:06.268928164 +0100
@@ -2,5 +2,6 @@
 <package>luajit</package>
 <package>lua53</package>
 <package>lua54</package>
+<package>lua55</package>
 </multibuild>
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.UGgk1p/_old  2026-01-26 10:57:06.292929168 +0100
+++ /var/tmp/diff_new_pack.UGgk1p/_new  2026-01-26 10:57:06.300929504 +0100
@@ -1,6 +1,6 @@
-mtime: 1761317251
-commit: 89a6ab1ffcf03b48c7a8caef8712a2e083232ff29c9940c3c9557d21e117f650
+mtime: 1769123279
+commit: 0458e905cd682d84fe05dcbb07bd93174bf7d371aef004ae6d25270745dadbd1
 url: https://src.opensuse.org/lua/lua-compat-5.3.git
-revision: 89a6ab1ffcf03b48c7a8caef8712a2e083232ff29c9940c3c9557d21e117f650
+revision: 0458e905cd682d84fe05dcbb07bd93174bf7d371aef004ae6d25270745dadbd1
 projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++
--- old/.gitignore      2025-10-24 16:47:40.000000000 +0200
+++ new/.gitignore      2026-01-23 00:08:22.000000000 +0100
@@ -1 +1,6 @@
 .osc
+*.obscpio
+*.osc
+_build.*
+.pbuild
+lua*-compat-5.3-*-build/

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-01-23 00:08:22.000000000 +0100
@@ -0,0 +1,6 @@
+.osc
+*.obscpio
+*.osc
+_build.*
+.pbuild
+lua*-compat-5.3-*-build/

++++++ lua55-build.patch ++++++
---
 c-api/compat-5.3.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: lua-compat-5.3-0.14.4/c-api/compat-5.3.h
===================================================================
--- lua-compat-5.3-0.14.4.orig/c-api/compat-5.3.h       2025-01-23 
10:27:33.000000000 +0100
+++ lua-compat-5.3-0.14.4/c-api/compat-5.3.h    2026-01-22 23:36:06.333744764 
+0100
@@ -396,11 +396,11 @@
 
 
 /* other Lua versions */
-#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 504
+#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 505
 
-#  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, or 5.4)"
+#  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, 5.4, or 5.5)"
 
-#endif /* other Lua versions except 5.1, 5.2, 5.3, and 5.4 */
+#endif /* other Lua versions except 5.1, 5.2, 5.3, 5.4, and 5.5 */
 
 
 

Reply via email to