File fix-build.patch of Package openclonk

commit e8ce2c5956800f17cb8525fdeb29a08339d9c4b7
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date:   Thu Dec 4 11:20:09 2025 +0000

    Declare segv_handler with proper type
    
    to compile on gcc15

diff --git a/src/gui/C4Scoreboard.h b/src/gui/C4Scoreboard.h
index 55db5864c..7f74c4197 100644
--- a/src/gui/C4Scoreboard.h
+++ b/src/gui/C4Scoreboard.h
@@ -35,7 +35,7 @@ private:
 		void SwapWith(Entry *pSwap);
 	};
 private:
-	// array - row/col zero are row/coloumn headers
+	// array - row/col zero are row/column headers
 	int32_t iRows{0},iCols{0};
 	Entry *pEntries{nullptr};
 
diff --git a/src/mape/mape.c b/src/mape/mape.c
index 2872c6164..16ce8cc8e 100644
--- a/src/mape/mape.c
+++ b/src/mape/mape.c
@@ -36,7 +36,7 @@ static const gchar* SEGV_MSG_ERR =
 	"with steps to reproduce and a possible file that caused the crash to "
 	"Armin Burgmeier <armin@arbur.net>";
 
-static void segv_handler()
+static void segv_handler(int dummy)
 {
 	GtkWidget* error_dialog;
 	gboolean result;

commit 514a2099471094d2148b7b8a91ae057bf9d98caf
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date:   Thu Dec 4 10:08:30 2025 +0000

    Do not redefine Mix_Music
    
    Mix_Music already provided by SDL2 headers

diff --git a/src/platform/C4MusicFile.h b/src/platform/C4MusicFile.h
index b636add34..93f6dcfd0 100644
--- a/src/platform/C4MusicFile.h
+++ b/src/platform/C4MusicFile.h
@@ -67,7 +67,6 @@ protected:
 };
 
 #if AUDIO_TK == AUDIO_TK_SDL_MIXER
-typedef struct _Mix_Music Mix_Music;
 class C4MusicFileSDL : public C4MusicFile
 {
 public:
openSUSE Build Service is sponsored by