Hello community, here is the log from the commit of package lua-lgi for openSUSE:Factory checked in at 2020-07-15 14:54:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-lgi (Old) and /work/SRC/openSUSE:Factory/.lua-lgi.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua-lgi" Wed Jul 15 14:54:56 2020 rev:8 rq:819733 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-lgi/lua-lgi.changes 2018-04-05 15:34:23.978173485 +0200 +++ /work/SRC/openSUSE:Factory/.lua-lgi.new.3060/lua-lgi.changes 2020-07-15 14:54:59.470815108 +0200 @@ -1,0 +2,10 @@ +Thu Jul 9 13:23:34 UTC 2020 - Callum Farmer <[email protected]> + +- Added lua54.patch to fix building with Lua 5.4 + +------------------------------------------------------------------- +Mon Jul 6 19:04:01 UTC 2020 - Matej Cepl <[email protected]> + +- Add lua54 as new build target + +------------------------------------------------------------------- New: ---- lua54.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-lgi.spec ++++++ --- /var/tmp/diff_new_pack.6UEv5t/_old 2020-07-15 14:55:00.770816445 +0200 +++ /var/tmp/diff_new_pack.6UEv5t/_new 2020-07-15 14:55:00.774816449 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua-lgi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2012 Adam Mizerski <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,6 +26,7 @@ Group: Development/Languages/Other URL: https://github.com/pavouk/lgi Source0: https://github.com/pavouk/%{mod_name}/archive/%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz +Patch: lua54.patch BuildRequires: %{flavor}-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(gmodule-2.0) @@ -58,7 +59,7 @@ directly from Lua. %prep -%setup -q -n %{mod_name}-%{version} +%autosetup -n %{mod_name}-%{version} -p1 %build make %{?_smp_mflags} V=1 \ ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.6UEv5t/_old 2020-07-15 14:55:00.810816486 +0200 +++ /var/tmp/diff_new_pack.6UEv5t/_new 2020-07-15 14:55:00.810816486 +0200 @@ -1,4 +1,5 @@ <multibuild> <package>lua51</package> <package>lua53</package> +<package>lua54</package> </multibuild> ++++++ lua54.patch ++++++ diff --git a/lgi/callable.c b/lgi/callable.c index e96d3af..3234b64 100644 --- a/lgi/callable.c +++ b/lgi/callable.c @@ -1355,7 +1355,10 @@ closure_callback (ffi_cif *cif, void *ret, void **args, void *closure_arg) } else { -#if LUA_VERSION_NUM >= 502 +#if LUA_VERSION_NUM >= 504 + int nresults; + res = lua_resume (L, NULL, npos, &nresults); +#elif LUA_VERSION_NUM >= 502 res = lua_resume (L, NULL, npos); #else res = lua_resume (L, npos);
