SHA256
1
0
forked from pool/cdogs-sdl

Accepting request 839030 from home:mnhauke:games

- Update to 0.9.1:
  * Fix bugs that spawn player in locked rooms
  Game
  * Fix spawning player in locked rooms.
  * Fix spawning keys inside locked doors.
  * Add show map powerup in Doom campaign.
  Editor
  * Add color highlights for locked rooms.
  Other
  * Fix linker issue in gcc10 (fixed by @susnux).
- Drop patch:
  * cdogs-gLog.patch (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/839030
OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=22
This commit is contained in:
Dirk Stoecker 2020-10-01 20:31:41 +00:00 committed by Git OBS Bridge
parent a4235ecf46
commit 9eeae42cde
5 changed files with 20 additions and 30 deletions

View File

@ -1,23 +0,0 @@
diff -Nur cdogs-sdl-0.9.0/src/cdogs/log.c new/src/cdogs/log.c
--- cdogs-sdl-0.9.0/src/cdogs/log.c 2020-09-16 15:27:30.000000000 +0200
+++ new/src/cdogs/log.c 2020-09-30 13:06:55.179642290 +0200
@@ -32,6 +32,7 @@
#include "rlutil/rlutil.h"
#include "utils.h"
+FILE *gLogFile;
typedef struct
{
diff -Nur cdogs-sdl-0.9.0/src/cdogs/log.h new/src/cdogs/log.h
--- cdogs-sdl-0.9.0/src/cdogs/log.h 2020-09-16 15:27:30.000000000 +0200
+++ new/src/cdogs/log.h 2020-09-30 13:06:34.435491593 +0200
@@ -60,7 +60,7 @@
const char *LogLevelName(const LogLevel l);
LogLevel StrLogLevel(const char *s);
-FILE *gLogFile;
+extern FILE *gLogFile;
void LogInit(void);
void LogOpenFile(const char *filename);
void LogTerminate(void);

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db1fc06f3a7ee49a5ed1505faeb7d3c8fd11d385dcb6c1042870e524839737bc
size 23541673

3
cdogs-sdl-0.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fee87e90371e6c8f679e75a3628d82b863a67250bd822c672a4017f6a078eb56
size 23552051

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Oct 1 18:35:10 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to 0.9.1:
* Fix bugs that spawn player in locked rooms
Game
* Fix spawning player in locked rooms.
* Fix spawning keys inside locked doors.
* Add show map powerup in Doom campaign.
Editor
* Add color highlights for locked rooms.
Other
* Fix linker issue in gcc10 (fixed by @susnux).
- Drop patch:
* cdogs-gLog.patch (fixed upstream)
-------------------------------------------------------------------
Wed Sep 30 11:12:45 UTC 2020 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -17,7 +17,7 @@
Name: cdogs-sdl
Version: 0.9.0
Version: 0.9.1
Release: 0
Summary: Classic overhead run-and-gun game
License: GPL-2.0-only AND BSD-2-Clause AND CC-BY-3.0 AND CC-BY-SA-3.0
@ -28,8 +28,6 @@ Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{
Patch0: cdogs-sdl-fix-desktop-and-appdata.patch
# PATCH-FIX-UPSTREAM nanopb.patch -- https://github.com/nanopb/nanopb/issues/521
Patch1: nanopb.patch
# PATCH-FIX-UPSTREAM cdogs-gLog.patch -- https://github.com/cxong/cdogs-sdl/issues/658
Patch2: cdogs-gLog.patch
BuildRequires: cmake >= 3.12
BuildRequires: dos2unix
BuildRequires: enet-devel
@ -55,7 +53,6 @@ from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
sed -i 's|env python|python3|' src/proto/nanopb/generator/{protoc,nanopb_generator.py}