aboutsummaryrefslogtreecommitdiff
path: root/multimedia/pipewire/files
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2022-05-04 13:01:53 +0000
committerGleb Popov <arrowd@FreeBSD.org>2022-05-04 13:02:19 +0000
commite4a6ad6d3fa3c4e024d99b9dc67c05a1a31db62e (patch)
tree957520ece2bd0b64fa8536533e64f391d968750c /multimedia/pipewire/files
parentecf09fe3460067b442ba41a6adb85897c99442b5 (diff)
downloadports-e4a6ad6d3fa3c4e024d99b9dc67c05a1a31db62e.tar.gz
ports-e4a6ad6d3fa3c4e024d99b9dc67c05a1a31db62e.zip
multimedia/pipewire: Update to 0.3.51
Diffstat (limited to 'multimedia/pipewire/files')
-rw-r--r--multimedia/pipewire/files/patch-spa_tests_stress-ringbuffer.c12
-rw-r--r--multimedia/pipewire/files/patch-src_pipewire_pipewire_init20
-rw-r--r--multimedia/pipewire/files/patch-test_test-functional.c10
3 files changed, 19 insertions, 23 deletions
diff --git a/multimedia/pipewire/files/patch-spa_tests_stress-ringbuffer.c b/multimedia/pipewire/files/patch-spa_tests_stress-ringbuffer.c
deleted file mode 100644
index 7302c91e2c6b..000000000000
--- a/multimedia/pipewire/files/patch-spa_tests_stress-ringbuffer.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- spa/tests/stress-ringbuffer.c.orig 2022-01-05 10:25:04 UTC
-+++ spa/tests/stress-ringbuffer.c
-@@ -13,7 +13,8 @@
-
- #ifdef __FreeBSD__
- #include <sys/param.h>
--#if __FreeBSD_version < 1400043
-+#if (__FreeBSD_version >= 1400000 && __FreeBSD_version < 1400043) \
-+ || (__FreeBSD_version < 1300523)
- static int sched_getcpu(void) { return -1; };
- #endif
- #endif
diff --git a/multimedia/pipewire/files/patch-src_pipewire_pipewire_init b/multimedia/pipewire/files/patch-src_pipewire_pipewire_init
index 3f94963d19c0..fc8bb0b65e0e 100644
--- a/multimedia/pipewire/files/patch-src_pipewire_pipewire_init
+++ b/multimedia/pipewire/files/patch-src_pipewire_pipewire_init
@@ -4,10 +4,10 @@ conflict, rename the PipeWire init function into "pipewire_init".
Upstream issue: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1819
---- src/pipewire/pipewire.c.orig 2021-11-11 12:21:29 UTC
+--- src/pipewire/pipewire.c.orig 2022-04-27 17:59:21 UTC
+++ src/pipewire/pipewire.c
-@@ -583,7 +583,7 @@ out:
- *
+@@ -580,7 +580,7 @@ SPA_EXPORT
+ * This function can be called multiple times.
*/
SPA_EXPORT
-void pw_init(int *argc, char **argv[])
@@ -15,18 +15,16 @@ Upstream issue: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1819
{
const char *str;
struct spa_dict_item items[6];
-@@ -672,8 +672,9 @@ done:
- pthread_mutex_unlock(&init_lock);
- }
-
-+
+@@ -683,7 +683,7 @@ SPA_EXPORT
+ * used again after being deinitialized with a new pw_init() call.
+ */
SPA_EXPORT
-void pw_deinit(void)
+void pipewire_deinit(void)
{
struct support *support = &global_support;
struct registry *registry = &support->registry;
-@@ -696,6 +697,21 @@ void pw_deinit(void)
+@@ -712,6 +712,21 @@ done:
pthread_mutex_unlock(&init_lock);
}
@@ -48,9 +46,9 @@ Upstream issue: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1819
/** Check if a debug category is enabled
*
---- src/pipewire/pipewire.h.orig 2021-11-11 12:21:29 UTC
+--- src/pipewire/pipewire.h.orig 2022-04-27 17:59:21 UTC
+++ src/pipewire/pipewire.h
-@@ -69,9 +69,12 @@ extern "C" {
+@@ -69,9 +69,12 @@ void
* \{
*/
void
diff --git a/multimedia/pipewire/files/patch-test_test-functional.c b/multimedia/pipewire/files/patch-test_test-functional.c
new file mode 100644
index 000000000000..4ce37f2cb4ce
--- /dev/null
+++ b/multimedia/pipewire/files/patch-test_test-functional.c
@@ -0,0 +1,10 @@
+--- test/test-functional.c.orig 2022-04-27 17:59:21 UTC
++++ test/test-functional.c
+@@ -22,6 +22,7 @@
+ * DEALINGS IN THE SOFTWARE.
+ */
+
++#include <sys/wait.h>
+
+ #include "config.h"
+