Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crispy-doom for openSUSE:Leap:16.0 checked in at 2025-07-03 10:54:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:16.0/crispy-doom (Old) and /work/SRC/openSUSE:Leap:16.0/.crispy-doom.new.1903 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crispy-doom" Thu Jul 3 10:54:12 2025 rev:2 rq:1289760 version:7.0 Changes: -------- --- /work/SRC/openSUSE:Leap:16.0/crispy-doom/crispy-doom.changes 2025-03-19 11:41:25.816381453 +0100 +++ /work/SRC/openSUSE:Leap:16.0/.crispy-doom.new.1903/crispy-doom.changes 2025-07-03 10:54:15.480103195 +0200 @@ -1,0 +2,5 @@ +Tue Jun 17 10:11:01 UTC 2025 - Jan Engelhardt <jeng...@inai.de> + +- Add c99.patch, c23-gcc15.patch + +------------------------------------------------------------------- New: ---- c23-gcc15.patch c99.patch ----------(New B)---------- New: - Add c99.patch, c23-gcc15.patch New: - Add c99.patch, c23-gcc15.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crispy-doom.spec ++++++ --- /var/tmp/diff_new_pack.QdIUXa/_old 2025-07-03 10:54:15.788115925 +0200 +++ /var/tmp/diff_new_pack.QdIUXa/_new 2025-07-03 10:54:15.788115925 +0200 @@ -1,7 +1,7 @@ # # spec file for package crispy-doom # -# 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 @@ -25,6 +25,8 @@ URL: https://github.com/fabiangreffrath/crispy-doom Source: https://github.com/fabiangreffrath/crispy-doom/archive/refs/tags/crispy-doom-%version.tar.gz Patch1: chdoom-iwaddir.diff +Patch2: c99.patch +Patch3: c23-gcc15.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.QdIUXa/_old 2025-07-03 10:54:15.824117414 +0200 +++ /var/tmp/diff_new_pack.QdIUXa/_new 2025-07-03 10:54:15.828117579 +0200 @@ -1,5 +1,5 @@ -mtime: 1723245826 -commit: 8ecdf3c6a9f8797bba6e4384af324e4c66ef7185dcc6dd87cc44cc7621364475 +mtime: 1750155076 +commit: 27ded5275a84636e68becda9401d2c454785b86241cb0c8b121c8524ed666e76 url: https://src.opensuse.org/jengelh/crispy-doom revision: master ++++++ build.specials.obscpio ++++++ ++++++ c23-gcc15.patch ++++++ >From a45ae121549f6e589eddc64d3a038b19d5b20de1 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath <fab...@greffrath.com> Date: Tue, 29 Apr 2025 08:19:06 +0200 Subject: [PATCH] fix gcc-15 (i.e. -std=gnu23) build --- src/doom/f_finale.c | 8 ++++---- src/doom/p_bexptr.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/doom/f_finale.c b/src/doom/f_finale.c index f1fe24e1..2568836e 100644 --- a/src/doom/f_finale.c +++ b/src/doom/f_finale.c @@ -113,7 +113,7 @@ void F_CastTicker (void); boolean F_CastResponder (event_t *ev); void F_CastDrawer (void); -extern void A_RandomJump(); +extern void A_RandomJump(void *, void *, void *); // // F_StartFinale @@ -562,7 +562,7 @@ void F_CastTicker (void) goto stopattack; // Oh, gross hack! */ // [crispy] Allow A_RandomJump() in deaths in cast sequence - if (caststate->action.acp1 == A_RandomJump && Crispy_Random() < caststate->misc2) + if (caststate->action.acp3 == A_RandomJump && Crispy_Random() < caststate->misc2) { st = caststate->misc1; } @@ -655,7 +655,7 @@ void F_CastTicker (void) if (casttics == -1) { // [crispy] Allow A_RandomJump() in deaths in cast sequence - if (caststate->action.acp1 == A_RandomJump) + if (caststate->action.acp3 == A_RandomJump) { if (Crispy_Random() < caststate->misc2) { @@ -730,7 +730,7 @@ boolean F_CastResponder (event_t* ev) caststate = &states[mobjinfo[castorder[castnum].type].deathstate]; casttics = caststate->tics; // [crispy] Allow A_RandomJump() in deaths in cast sequence - if (casttics == -1 && caststate->action.acp1 == A_RandomJump) + if (casttics == -1 && caststate->action.acp3 == A_RandomJump) { if (Crispy_Random() < caststate->misc2) { diff --git a/src/doom/p_bexptr.c b/src/doom/p_bexptr.c index 0212a4f1..d4256ded 100644 --- a/src/doom/p_bexptr.c +++ b/src/doom/p_bexptr.c @@ -22,8 +22,8 @@ #include "m_random.h" #include "s_sound.h" -extern void A_Explode(); -extern void A_FaceTarget(); +extern void A_Explode(mobj_t* thingy); +extern void A_FaceTarget(mobj_t* actor); extern boolean P_CheckMeleeRange (mobj_t *actor); extern void P_Thrust (player_t* player, angle_t angle, fixed_t move); -- 2.49.0 ++++++ c99.patch ++++++ >From 57e0cdf606bcf9a518f2cad99831133396c015fa Mon Sep 17 00:00:00 2001 From: Fabian Greffrath <fab...@greffrath.com> Date: Mon, 20 Jan 2025 17:22:48 +0100 Subject: [PATCH] declare code as C99 compliant, include stdbool.h unconditionally (#1723) * declare code as C99 compliant, include stdbool.h unconditionally * add a comment why `boolean` must be an `int` type --- CMakeLists.txt | 2 ++ configure.ac | 2 +- src/doomtype.h | 7 +++++-- 3 files changed, 8 insertions(+), 3 deletions(-) Index: crispy-doom-crispy-doom-7.0/CMakeLists.txt =================================================================== --- crispy-doom-crispy-doom-7.0.orig/CMakeLists.txt +++ crispy-doom-crispy-doom-7.0/CMakeLists.txt @@ -3,6 +3,8 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_S cmake_minimum_required(VERSION 3.7.2) project("Crispy Doom" VERSION 7.0.0 LANGUAGES C) +set(CMAKE_C_STANDARD 99) + # Autotools variables set(top_srcdir ${CMAKE_CURRENT_SOURCE_DIR}) set(top_builddir ${CMAKE_CURRENT_BINARY_DIR}) Index: crispy-doom-crispy-doom-7.0/configure.ac =================================================================== --- crispy-doom-crispy-doom-7.0.orig/configure.ac +++ crispy-doom-crispy-doom-7.0/configure.ac @@ -16,7 +16,7 @@ AC_CANONICAL_HOST orig_CFLAGS="$CFLAGS" AM_PROG_AR -AC_PROG_CC +AC_PROG_CC_C99 AC_PROG_RANLIB AC_CHECK_PROG(HAVE_PYTHON, python3, true, false) Index: crispy-doom-crispy-doom-7.0/src/doomtype.h =================================================================== --- crispy-doom-crispy-doom-7.0.orig/src/doomtype.h +++ crispy-doom-crispy-doom-7.0/src/doomtype.h @@ -99,12 +99,15 @@ // standard and defined to include stdint.h, so include this. #include <inttypes.h> +#include <stdbool.h> #if defined(__cplusplus) || defined(__bool_true_false_are_defined) -// Use builtin bool type with C++. +// The C++/C99 bool type (or _Bool that is) can only have two values: +// 0 or 1. However, the Doom source code assumes any non-zero value +// to evaluate to true, so we have to use an int type here. -typedef bool boolean; +typedef int boolean; #else