1
0
forked from jengelh/SDL3
SDL3/gcc14.patch
2024-10-05 22:33:33 +02:00

12 lines
926 B
Diff

--- SDL3-3.1.3.orig/src/camera/pipewire/SDL_camera_pipewire.c 2024-10-05 20:41:45.901850659 +0200
+++ SDL3-3.1.3/src/camera/pipewire/SDL_camera_pipewire.c 2024-10-05 20:46:44.515609068 +0200
@@ -79,7 +79,7 @@
static void (*PIPEWIRE_pw_context_destroy)(struct pw_context *);
static struct pw_core *(*PIPEWIRE_pw_context_connect)(struct pw_context *, struct pw_properties *, size_t);
static void (*PIPEWIRE_pw_proxy_add_object_listener)(struct pw_proxy *, struct spa_hook *, const void *, void *);
-static void (*PIPEWIRE_pw_proxy_add_listener)(struct pw_proxy *, struct spa_hook *, const void *, void *);
+static void (*PIPEWIRE_pw_proxy_add_listener)(struct pw_proxy *, struct spa_hook *, const struct pw_proxy_events *, void *);
static void *(*PIPEWIRE_pw_proxy_get_user_data)(struct pw_proxy *);
static void (*PIPEWIRE_pw_proxy_destroy)(struct pw_proxy *);
static int (*PIPEWIRE_pw_core_disconnect)(struct pw_core *);