Compare commits

...

2 Commits

Author SHA256 Message Date
c5a1d42978 Accepting request 1251830 from games
OBS-URL: https://build.opensuse.org/request/show/1251830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdogs-sdl?expand=0&rev=27
2025-03-10 17:07:27 +00:00
Dirk Stoecker
50e7a6df00 - Update to version 2.3.0
* Add new per-campaign enhanced high score system, not backwards
    compatible.
  * Fix invalid character in credits.
- Drop patch:
  * cdogs-sdl-gcc-14.patch

OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=58
2025-03-10 14:47:32 +00:00
5 changed files with 15 additions and 23 deletions

View File

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

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

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

View File

@@ -1,16 +0,0 @@
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Fix FTBFS with GCC 14
Bug-Debian: https://bugs.debian.org/1074873
Forwarded: https://github.com/cxong/cwolfmap/pull/3
--- a/src/cdogs/cwolfmap/zip/zip.c
+++ b/src/cdogs/cwolfmap/zip/zip.c
@@ -1673,7 +1673,7 @@
*bufsize = n;
}
- *buf = calloc(sizeof(unsigned char), n);
+ *buf = calloc(n, sizeof(unsigned char));
memcpy(*buf, zip->archive.m_pState->m_pMem, n);
return (ssize_t)n;

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Mar 8 09:58:38 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.3.0
* Add new per-campaign enhanced high score system, not backwards
compatible.
* Fix invalid character in credits.
- Drop patch:
* cdogs-sdl-gcc-14.patch
-------------------------------------------------------------------
Sat Dec 7 09:01:41 UTC 2024 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package cdogs-sdl
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: cdogs-sdl
Version: 2.2.0
Version: 2.3.0
Release: 0
Summary: Classic overhead run-and-gun game
License: BSD-2-Clause AND GPL-2.0-only AND CC-BY-3.0 AND CC-BY-SA-3.0
@@ -27,8 +27,6 @@ Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{
Source1: cdogs-sdl.rpmlintrc
Patch0: fix-build.patch
Patch1: fix-env-script-interpreter.patch
# PATCH-FIX-UPSTREAM - cdogs-sdl-gcc-14.patch - https://sources.debian.org/patches/cdogs-sdl/2.1.0%2Bdfsg-2/gcc-14.patch/
Patch2: cdogs-sdl-gcc-14.patch
BuildRequires: cmake >= 3.12
BuildRequires: enet-devel
BuildRequires: fdupes