forked from pool/bzflag
Accepting request 37091 from home:hennevogel:branches:games
Copy from home:hennevogel:branches:games/bzflag via accept of submit request 37091 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/37091 OBS-URL: https://build.opensuse.org/package/show/games/bzflag?expand=0&rev=7
This commit is contained in:
parent
9a72723075
commit
5dc00621b2
17
bzflag-2.0.10-array-subscript.patch
Normal file
17
bzflag-2.0.10-array-subscript.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
--- src/bzflag/ServerStartMenu.cxx
|
||||||
|
+++ src/bzflag/ServerStartMenu.cxx
|
||||||
|
@@ -319,14 +319,6 @@
|
||||||
|
|
||||||
|
void ServerStartMenu::setSettings(const char* _settings)
|
||||||
|
{
|
||||||
|
- // FIXME -- temporary to automatically upgrade old configurations
|
||||||
|
- if (strlen(_settings) == 14) {
|
||||||
|
- strcpy(settings, _settings);
|
||||||
|
- settings[12] = settings[13];
|
||||||
|
- settings[13] = settings[14];
|
||||||
|
- return;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
if (strlen(_settings) != strlen(settings)) return;
|
||||||
|
strcpy(settings, _settings);
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bzflag (Version 2.0.16)
|
# spec file for package bzflag (Version 2.0.12)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -15,10 +15,8 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: bzflag
|
Name: bzflag
|
||||||
BuildRequires: bc curl-devel fdupes freeglut-devel gcc-c++ libSDL-devel libcares-devel libdrm-devel ncurses-devel update-desktop-files
|
BuildRequires: bc curl-devel freeglut-devel gcc-c++ libcares-devel libdrm-devel ncurses-devel update-desktop-files fdupes libSDL-devel
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Amusements/Games/3D/Shoot
|
Group: Amusements/Games/3D/Shoot
|
||||||
Version: 2.0.16
|
Version: 2.0.16
|
||||||
|
Loading…
Reference in New Issue
Block a user