Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package love-0_7_2 for openSUSE:Factory 
checked in at 2024-11-03 07:17:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/love-0_7_2 (Old)
 and      /work/SRC/openSUSE:Factory/.love-0_7_2.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "love-0_7_2"

Sun Nov  3 07:17:37 2024 rev:4 rq:1220352 version:0.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/love-0_7_2/love-0_7_2.changes    2019-01-03 
18:09:22.019994397 +0100
+++ /work/SRC/openSUSE:Factory/.love-0_7_2.new.2020/love-0_7_2.changes  
2024-11-03 07:17:58.792874860 +0100
@@ -1,0 +2,7 @@
+Sat Nov  2 15:21:54 UTC 2024 - Jan Engelhardt <jeng...@inai.de>
+
+- Add 0001-Clean-up-warnings-in-luasocket-and-box2d.patch to
+  resolve FTBFS with gcc-14
+- Update tarball URL
+
+-------------------------------------------------------------------

New:
----
  0001-Clean-up-warnings-in-luasocket-and-box2d.patch
  _scmsync.obsinfo
  build.specials.obscpio

BETA DEBUG BEGIN:
  New:
- Add 0001-Clean-up-warnings-in-luasocket-and-box2d.patch to
  resolve FTBFS with gcc-14
BETA DEBUG END:

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

Other differences:
------------------
++++++ love-0_7_2.spec ++++++
--- /var/tmp/diff_new_pack.TBCGUB/_old  2024-11-03 07:17:59.324896854 +0100
+++ /var/tmp/diff_new_pack.TBCGUB/_new  2024-11-03 07:17:59.328897019 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package love-0_7_2
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,11 +22,11 @@
 Summary:        2D gaming engine written in Lua
 License:        Zlib
 Group:          Development/Languages/Other
-Url:            http://love2d.org/
-
-Source:         
https://bitbucket.org/rude/love/downloads/love-0.7.2-linux-src.tar.gz
+URL:            http://love2d.org/
+Source:         
https://github.com/love2d/love/releases/download/%version/love-%version-linux-src.tar.gz
 Patch1:         love-modplug.patch
 Patch2:         system-packages.diff
+Patch3:         0001-Clean-up-warnings-in-luasocket-and-box2d.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -50,8 +50,7 @@
 LÖVE is a framework for making 2D games in Lua.
 
 %prep
-%setup -qn love-HEAD
-%patch -P 1 -P 2 -p1
+%autosetup -n love-HEAD -p1
 
 %build
 sed -i 's/\r$//' *.txt
@@ -59,15 +58,14 @@
 autoreconf -fi
 export CPPFLAGS="-DGL_GLEXT_PROTOTYPES"
 %configure
-make %{?_smp_mflags}
+%make_build
 
 %install
-b="%buildroot";
-make install DESTDIR="$b"
-mv "$b/%_bindir"/love{,-0.7.2}
+%make_install
+mv "%buildroot/%_bindir/love" "%buildroot/%_bindir/love-0.7.2"
 
 %files
-%defattr(-,root,root)
-%doc changes.txt license.txt readme.txt
+%license license.txt
+%doc readme.txt
 %_bindir/love-0.7.2
 

++++++ 0001-Clean-up-warnings-in-luasocket-and-box2d.patch ++++++
>From 6cf25f92098c192d22dc82b9888386fa52b4d797 Mon Sep 17 00:00:00 2001
From: Bart van Strien <bart.bes+proje...@gmail.com>
Date: Sun, 29 Sep 2013 12:56:48 +0200
Subject: [PATCH] Clean up warnings in luasocket and box2d

diff --git a/src/libraries/Box2D/README.MODIFIED 
b/src/libraries/Box2D/README.MODIFIED
new file mode 100644
index 00000000..71388bce
--- /dev/null
+++ b/src/libraries/Box2D/README.MODIFIED
@@ -0,0 +1 @@
+PLEASE NOTE, this version of Box2D is NOT original, it has been MODIFIED by 
the LÖVE Development Team.
diff --git a/src/libraries/luasocket/libluasocket/luasocket.c 
b/src/libraries/luasocket/libluasocket/luasocket.c
index 798a3116..0d10bb1d 100644
--- a/src/libraries/luasocket/libluasocket/luasocket.c
+++ b/src/libraries/luasocket/libluasocket/luasocket.c
@@ -110,7 +110,7 @@ static int base_open(lua_State *L) {
 /*-------------------------------------------------------------------------*\
 * Initializes all library modules.
 \*-------------------------------------------------------------------------*/
-LUASOCKET_API luaopen_socket_core(lua_State *L) {
+int LUASOCKET_API luaopen_socket_core(lua_State *L) {
     int i;
     base_open(L);
     for (i = 0; mod[i].name; i++) mod[i].func(L);
-- 
2.47.0


++++++ _scmsync.obsinfo ++++++
mtime: 1730583442
commit: b160856ec887ddea910c01aeaea9099ba172eba071b281599b4508fee00eca8c
url: https://src.opensuse.org/jengelh/love-0_7_2
revision: master

Reply via email to