Hello community,

here is the log from the commit of package love for openSUSE:Factory checked in 
at 2020-04-27 23:32:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/love (Old)
 and      /work/SRC/openSUSE:Factory/.love.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "love"

Mon Apr 27 23:32:02 2020 rev:6 rq:796686 version:11.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/love/love.changes        2018-12-04 
20:54:21.904850504 +0100
+++ /work/SRC/openSUSE:Factory/.love.new.2738/love.changes      2020-04-27 
23:32:04.474784985 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 14:44:59 UTC 2020 - Max Mitschke <maxmitsc...@fastmail.com>
+
+- Added remove-duplicate-typedef.patch to fix i586 build 
+
+-------------------------------------------------------------------

New:
----
  remove-duplicate-typedef.patch

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

Other differences:
------------------
++++++ love.spec ++++++
--- /var/tmp/diff_new_pack.U23Rrq/_old  2020-04-27 23:32:05.378786750 +0200
+++ /var/tmp/diff_new_pack.U23Rrq/_new  2020-04-27 23:32:05.382786757 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package love
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,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 @@
 URL:            http://love2d.org/
 Source:         
https://bitbucket.org/rude/love/downloads/%{name}-%{version}-linux-src.tar.gz
 Patch0:         love-11.2-return.patch
+Patch1:         remove-duplicate-typedef.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -57,6 +58,9 @@
 %prep
 %setup -q
 %patch0 -p1
+%if %{__isa_bits} == 32
+%patch1 -p1
+%endif
 sed -i 's/\r$//' *.txt
 
 %build

++++++ remove-duplicate-typedef.patch ++++++
From: Max Mitschke <maxmitsc...@fastmail.com>
Date: 2020-04-23 10:17:41 -0400
Subject: Remove duplicate typedef lua_Unsigned
References:
Upstream: N/A

This patch should only be used on the i586 build as it fails to 
build due to a duplicate typedef which also exists within the 
moonjit package. 

---
diff -Naur a/src/libraries/lua53/lstrlib.c b/src/libraries/lua53/lstrlib.c
--- a/src/libraries/lua53/lstrlib.c     2017-12-14 11:06:10.000000000 -0500
+++ b/src/libraries/lua53/lstrlib.c     2020-04-22 22:01:42.666685821 -0400
@@ -70,10 +70,6 @@
 #include "lstrlib.h"
 
 #if LUA_VERSION_NUM == 501
-typedef size_t lua_Unsigned;
-#endif
-
-#if LUA_VERSION_NUM == 501
 #      define LUAL_BUFFER53_BUFFER(B) (B)->b.buffer
 #else
 #      define LUAL_BUFFER53_BUFFER(B) (B)->b.initb

Reply via email to