Display and control your Android device
Upgrade SDL (2.32.2)
Romain Vimontb7add4215440
diff --git a/app/deps/patches/SDL-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch b/app/deps/patches/SDL-pipewire-Ensure-that-the-correct-struct-is-used-for-.patchnew file mode 100644index 00000000..cbb516ec--- /dev/null+++ b/app/deps/patches/SDL-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch@@ -0,0 +1,33 @@+From 6be87ceb33a9aad3bf5204bb13b3a5e8b498fd26 Mon Sep 17 00:00:00 2001+From: Neal Gompa <[email protected]>+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+(cherry picked from commit d35bef64e913dd7d5dd3153a4b61f10ef837dad6)+---+ 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 889e05decb..5d1bfc28de 100644+--- a/src/audio/pipewire/SDL_pipewire.c++++ b/src/audio/pipewire/SDL_pipewire.c+@@ -590,7 +590,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.49.0+diff --git a/app/deps/sdl.sh b/app/deps/sdl.shindex c098e367..c3edee58 100755--- a/app/deps/sdl.sh+++ b/app/deps/sdl.sh@@ -5,10 +5,10 @@ cd "$DEPS_DIR". commonprocess_args "$@"-VERSION=2.30.10+VERSION=2.32.2FILENAME=SDL-$VERSION.tar.gzPROJECT_DIR=SDL-release-$VERSION-SHA256SUM=35a8b9c4f3635d85762b904ac60ca4e0806bff89faeb269caafbe80860d67168+SHA256SUM=f2c7297ae7b3d3910a8b131e1e2a558fdd6d1a4443d5e345374d45cadfcb05a4cd "$SOURCES_DIR"@@ -18,6 +18,7 @@ thenelseget_file "https://github.com/libsdl-org/SDL/archive/refs/tags/release-$VERSION.tar.gz" "$FILENAME" "$SHA256SUM"tar xf "$FILENAME" # First level directory is "$PROJECT_DIR"+ patch -d "$PROJECT_DIR" -p1 < "$PATCHES_DIR"/SDL-pipewire-Ensure-that-the-correct-struct-is-used-for-.patchfimkdir -p "$BUILD_DIR/$PROJECT_DIR"