Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package SDL3 for openSUSE:Factory checked in at 2024-08-20 16:13:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/SDL3 (Old) and /work/SRC/openSUSE:Factory/.SDL3.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "SDL3" Tue Aug 20 16:13:55 2024 rev:3 rq:1194778 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/SDL3/SDL3.changes 2024-05-03 01:15:16.566400257 +0200 +++ /work/SRC/openSUSE:Factory/.SDL3.new.2698/SDL3.changes 2024-08-20 16:14:14.932285677 +0200 @@ -1,0 +2,5 @@ +Mon Aug 19 21:05:37 UTC 2024 - Jan Engelhardt <jeng...@inai.de> + +- Add gcc14.patch + +------------------------------------------------------------------- New: ---- _scmsync.obsinfo gcc14.patch BETA DEBUG BEGIN: New: - Add gcc14.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SDL3.spec ++++++ --- /var/tmp/diff_new_pack.w3uYM5/_old 2024-08-20 16:14:15.480308169 +0200 +++ /var/tmp/diff_new_pack.w3uYM5/_new 2024-08-20 16:14:15.484308334 +0200 @@ -30,6 +30,7 @@ #Source2: https://libsdl.org/release/%name-%version.tar.gz.sig Source: https://github.com/libsdl-org/SDL/releases/download/prerelease-%version/%name-%version.tar.xz Source3: %name.keyring +Patch1: gcc14.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libdecor-devel ++++++ _scmsync.obsinfo ++++++ mtime: 1724101552 commit: 769f4ba86b74cd19934b29acb6a164d9353633d8168f0ae67f2e10aefdb53e3c url: https://src.opensuse.org/jengelh/SDL3 revision: master ++++++ gcc14.patch ++++++ >From fb02d9949459e7660195e7d98c06b29297be5ee8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt <jeng...@inai.de> Date: Mon, 19 Aug 2024 22:47:45 +0200 Subject: [PATCH] Resolve build failures in pipewire code References: https://github.com/libsdl-org/SDL/pull/10568 g++-13 complains: ``` SDL_pipewire.c:129:42: warning: assignment to "struct pw_main_loop * (*)(struct pw_main_loop *)" from incompatible pointer type "struct pw_main_loop * (*)(const struct spa_dict *)" [-Wincompatible-pointer-types] 129 | #define SDL_PIPEWIRE_SYM(x) PIPEWIRE_##x = x SDL_pipewire.c:148:5: note: in expansion of macro "SDL_PIPEWIRE_SYM" 148 | SDL_PIPEWIRE_SYM(pw_main_loop_new); ``` g++-14 complains: ``` SDL_pipewire.c:129:42: error: assignment to "struct pw_main_loop * (*)(const struct pw_main_loop *)" from incompatible pointer type "struct pw_main_loop * (*)(const struct spa_dict *)" [-Wincompatible-pointer-types] ``` --- src/audio/pipewire/SDL_pipewire.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c index 251b324a3..ad8d1ef52 100644 --- a/src/audio/pipewire/SDL_pipewire.c +++ b/src/audio/pipewire/SDL_pipewire.c @@ -56,7 +56,7 @@ static SDL_bool pipewire_initialized = SDL_FALSE; static const char *(*PIPEWIRE_pw_get_library_version)(void); static void (*PIPEWIRE_pw_init)(int *, char ***); static void (*PIPEWIRE_pw_deinit)(void); -static struct pw_main_loop *(*PIPEWIRE_pw_main_loop_new)(struct pw_main_loop *loop); +static struct pw_main_loop *(*PIPEWIRE_pw_main_loop_new)(const struct spa_dict *loop); static struct pw_loop *(*PIPEWIRE_pw_main_loop_get_loop)(struct pw_main_loop *loop); static int (*PIPEWIRE_pw_main_loop_run)(struct pw_main_loop *loop); static int (*PIPEWIRE_pw_main_loop_quit)(struct pw_main_loop *loop); -- 2.46.0