Accepting request 1248439 from games
- Add 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch for pipewire-1.3.x OBS-URL: https://build.opensuse.org/request/show/1248439 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL3?expand=0&rev=12
This commit is contained in:
commit
f52dac20d5
@ -0,0 +1,32 @@
|
|||||||
|
From d35bef64e913dd7d5dd3153a4b61f10ef837dad6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Neal Gompa <neal@gompa.dev>
|
||||||
|
Date: Mon, 10 Feb 2025 05:00:56 -0500
|
||||||
|
Subject: [PATCH] pipewire: Ensure that the correct struct is used for
|
||||||
|
enumeration APIs
|
||||||
|
|
||||||
|
PipeWire now requires the correct struct type is used, otherwise
|
||||||
|
it will fail to compile.
|
||||||
|
|
||||||
|
Reference: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/188d920733f0791413d3386e5536ee7377f71b2f
|
||||||
|
|
||||||
|
Fixes: https://github.com/libsdl-org/SDL/issues/12224
|
||||||
|
---
|
||||||
|
src/audio/pipewire/SDL_pipewire.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c
|
||||||
|
index 4e71dd52a..dfb5d6cf3 100644
|
||||||
|
--- a/src/audio/pipewire/SDL_pipewire.c
|
||||||
|
+++ b/src/audio/pipewire/SDL_pipewire.c
|
||||||
|
@@ -548,7 +548,7 @@ static void node_event_info(void *object, const struct pw_node_info *info)
|
||||||
|
|
||||||
|
// Need to parse the parameters to get the sample rate
|
||||||
|
for (i = 0; i < info->n_params; ++i) {
|
||||||
|
- pw_node_enum_params(node->proxy, 0, info->params[i].id, 0, 0, NULL);
|
||||||
|
+ pw_node_enum_params((struct pw_node*)node->proxy, 0, info->params[i].id, 0, 0, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
hotplug_core_sync(node);
|
||||||
|
--
|
||||||
|
2.48.1
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 25 16:16:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch
|
||||||
|
for pipewire-1.3.x
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 7 09:00:53 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
Fri Feb 7 09:00:53 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ Source: https://github.com/libsdl-org/SDL/releases/download/release-%ver
|
|||||||
Source2: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz.sig
|
Source2: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
|
Patch1: 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libdecor-devel
|
BuildRequires: libdecor-devel
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
mtime: 1738919362
|
mtime: 1740501884
|
||||||
commit: f6312c616b57d5f652c30f7fa993dc7018c789331222823f5783b9f39d425d69
|
commit: 0b63c8441574f5a395c729e97f2229eef8f997b768db702fdca19337e6ec4e44
|
||||||
url: https://src.opensuse.org/jengelh/SDL3
|
url: https://src.opensuse.org/jengelh/SDL3
|
||||||
revision: master
|
revision: master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user