diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch | 46 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/pipewire/pipewire_1.4.0.bb (renamed from meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.7.bb) | 6 |
2 files changed, 3 insertions, 49 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch b/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch deleted file mode 100644 index 9b05e9e4c3..0000000000 --- a/meta-multimedia/recipes-multimedia/pipewire/files/0ca64277b317b4836beccaa3248ab9055526811c.patch +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | From 0ca64277b317b4836beccaa3248ab9055526811c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wim Taymans <wtaymans@redhat.com> | ||
| 3 | Date: Mon, 30 Sep 2024 10:06:30 +0200 | ||
| 4 | Subject: [PATCH] spa: initialize all fields explicitly | ||
| 5 | |||
| 6 | Patch by Petar Popovic | ||
| 7 | |||
| 8 | Fixes #4325 | ||
| 9 | |||
| 10 | Upstream-Status: Backport [https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/0ca64277b317b4836beccaa3248ab9055526811c] | ||
| 11 | |||
| 12 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 13 | --- | ||
| 14 | spa/include/spa/pod/builder.h | 2 +- | ||
| 15 | spa/include/spa/pod/parser.h | 2 +- | ||
| 16 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/spa/include/spa/pod/builder.h b/spa/include/spa/pod/builder.h | ||
| 19 | index 0564d94ea2..6d3e9d54af 100644 | ||
| 20 | --- a/spa/include/spa/pod/builder.h | ||
| 21 | +++ b/spa/include/spa/pod/builder.h | ||
| 22 | @@ -49,7 +49,7 @@ struct spa_pod_builder { | ||
| 23 | struct spa_callbacks callbacks; | ||
| 24 | }; | ||
| 25 | |||
| 26 | -#define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0}, {0} }) | ||
| 27 | +#define SPA_POD_BUILDER_INIT(buffer,size) ((struct spa_pod_builder){ (buffer), (size), 0, {0,0,NULL},{NULL,NULL}}) | ||
| 28 | |||
| 29 | static inline void | ||
| 30 | spa_pod_builder_get_state(struct spa_pod_builder *builder, struct spa_pod_builder_state *state) | ||
| 31 | diff --git a/spa/include/spa/pod/parser.h b/spa/include/spa/pod/parser.h | ||
| 32 | index 083f911713..4c1e72acce 100644 | ||
| 33 | --- a/spa/include/spa/pod/parser.h | ||
| 34 | +++ b/spa/include/spa/pod/parser.h | ||
| 35 | @@ -33,7 +33,7 @@ struct spa_pod_parser { | ||
| 36 | struct spa_pod_parser_state state; | ||
| 37 | }; | ||
| 38 | |||
| 39 | -#define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0} }) | ||
| 40 | +#define SPA_POD_PARSER_INIT(buffer,size) ((struct spa_pod_parser){ (buffer), (size), 0, {0,0,NULL}}) | ||
| 41 | |||
| 42 | static inline void spa_pod_parser_init(struct spa_pod_parser *parser, | ||
| 43 | const void *data, uint32_t size) | ||
| 44 | -- | ||
| 45 | GitLab | ||
| 46 | |||
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.7.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.4.0.bb index 8c486b9c5e..d897ddb25d 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.7.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.4.0.bb | |||
| @@ -12,9 +12,8 @@ LIC_FILES_CHKSUM = " \ | |||
| 12 | 12 | ||
| 13 | DEPENDS = "dbus ncurses" | 13 | DEPENDS = "dbus ncurses" |
| 14 | 14 | ||
| 15 | SRCREV = "cc7439187f61dd73b81ca69f5dbccbb52ce970b2" | 15 | SRCREV = "df1c36aec2aaf9e2eb1596b6b55e72c15fb2088a" |
| 16 | SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=1.2;protocol=https" | 16 | SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https" |
| 17 | SRC_URI += "file://0ca64277b317b4836beccaa3248ab9055526811c.patch" | ||
| 18 | 17 | ||
| 19 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 20 | 19 | ||
| @@ -283,6 +282,7 @@ CONFFILES:libpipewire += "${datadir}/pipewire/client.conf" | |||
| 283 | FILES:libpipewire = " \ | 282 | FILES:libpipewire = " \ |
| 284 | ${datadir}/pipewire/client.conf \ | 283 | ${datadir}/pipewire/client.conf \ |
| 285 | ${libdir}/libpipewire-*.so.* \ | 284 | ${libdir}/libpipewire-*.so.* \ |
| 285 | ${libdir}/${SPA_SUBDIR}/libspa.so \ | ||
| 286 | " | 286 | " |
| 287 | # Add the bare minimum modules and plugins required to be able | 287 | # Add the bare minimum modules and plugins required to be able |
| 288 | # to use libpipewire. Without these, it is essentially unusable. | 288 | # to use libpipewire. Without these, it is essentially unusable. |
