Accepting request 1220352 from games
- Add 0001-Clean-up-warnings-in-luasocket-and-box2d.patch to resolve FTBFS with gcc-14 - Update tarball URL OBS-URL: https://build.opensuse.org/request/show/1220352 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/love-0_7_2?expand=0&rev=4
This commit is contained in:
commit
9311bc96bb
28
0001-Clean-up-warnings-in-luasocket-and-box2d.patch
Normal file
28
0001-Clean-up-warnings-in-luasocket-and-box2d.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 6cf25f92098c192d22dc82b9888386fa52b4d797 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Bart van Strien <bart.bes+projects@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
|
||||||
|
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1730583442
|
||||||
|
commit: b160856ec887ddea910c01aeaea9099ba172eba071b281599b4508fee00eca8c
|
||||||
|
url: https://src.opensuse.org/jengelh/love-0_7_2
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:08237cab073af3670a0029480edf94a0a11356c266bcb878f0308436fc985651
|
||||||
|
size 256
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 2 15:21:54 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add 0001-Clean-up-warnings-in-luasocket-and-box2d.patch to
|
||||||
|
resolve FTBFS with gcc-14
|
||||||
|
- Update tarball URL
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 3 01:24:03 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Thu Jan 3 01:24:03 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package love-0_7_2
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,11 +22,11 @@ Release: 0
|
|||||||
Summary: 2D gaming engine written in Lua
|
Summary: 2D gaming engine written in Lua
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Url: http://love2d.org/
|
URL: http://love2d.org/
|
||||||
|
Source: https://github.com/love2d/love/releases/download/%version/love-%version-linux-src.tar.gz
|
||||||
Source: https://bitbucket.org/rude/love/downloads/love-0.7.2-linux-src.tar.gz
|
|
||||||
Patch1: love-modplug.patch
|
Patch1: love-modplug.patch
|
||||||
Patch2: system-packages.diff
|
Patch2: system-packages.diff
|
||||||
|
Patch3: 0001-Clean-up-warnings-in-luasocket-and-box2d.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -50,8 +50,7 @@ BuildRequires: pkgconfig(vorbisfile)
|
|||||||
LÖVE is a framework for making 2D games in Lua.
|
LÖVE is a framework for making 2D games in Lua.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn love-HEAD
|
%autosetup -n love-HEAD -p1
|
||||||
%patch -P 1 -P 2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i 's/\r$//' *.txt
|
sed -i 's/\r$//' *.txt
|
||||||
@ -59,16 +58,15 @@ mv configure.{in,ac}
|
|||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
export CPPFLAGS="-DGL_GLEXT_PROTOTYPES"
|
export CPPFLAGS="-DGL_GLEXT_PROTOTYPES"
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
%make_install
|
||||||
make install DESTDIR="$b"
|
mv "%buildroot/%_bindir/love" "%buildroot/%_bindir/love-0.7.2"
|
||||||
mv "$b/%_bindir"/love{,-0.7.2}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license license.txt
|
||||||
%doc changes.txt license.txt readme.txt
|
%doc readme.txt
|
||||||
%_bindir/love-0.7.2
|
%_bindir/love-0.7.2
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user