diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2021-09-20 13:25:55 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2021-09-20 13:26:18 +0000 |
commit | 884bedb1ffb3f91d85a6d1fdf47fc7693ab74a2e (patch) | |
tree | b67f41de99dcd88de74e1ad56b941c211a3f18ca /multimedia/pipewire/files | |
parent | 1bcc223db65717696dd98cb0a2d2dad60b018560 (diff) | |
download | ports-884bedb1ffb3f91d85a6d1fdf47fc7693ab74a2e.tar.gz ports-884bedb1ffb3f91d85a6d1fdf47fc7693ab74a2e.zip |
multimedia/pipewire: Update to 0.3.36
Diffstat (limited to 'multimedia/pipewire/files')
-rw-r--r-- | multimedia/pipewire/files/patch-spa_plugins_audioconvert_fmt-ops.h | 16 | ||||
-rw-r--r-- | multimedia/pipewire/files/patch-src_pipewire_thread-loop.c | 19 |
2 files changed, 16 insertions, 19 deletions
diff --git a/multimedia/pipewire/files/patch-spa_plugins_audioconvert_fmt-ops.h b/multimedia/pipewire/files/patch-spa_plugins_audioconvert_fmt-ops.h new file mode 100644 index 000000000000..0c8e9470da5b --- /dev/null +++ b/multimedia/pipewire/files/patch-spa_plugins_audioconvert_fmt-ops.h @@ -0,0 +1,16 @@ +--- spa/plugins/audioconvert/fmt-ops.h.orig 2021-09-16 13:08:56 UTC ++++ spa/plugins/audioconvert/fmt-ops.h +@@ -23,7 +23,13 @@ + */ + + #include <math.h> ++#ifdef __FreeBSD__ ++#include <sys/endian.h> ++#define bswap_16 bswap16 ++#define bswap_32 bswap32 ++#else + #include <byteswap.h> ++#endif + + #include <spa/utils/defs.h> + diff --git a/multimedia/pipewire/files/patch-src_pipewire_thread-loop.c b/multimedia/pipewire/files/patch-src_pipewire_thread-loop.c deleted file mode 100644 index 7a18834d6d55..000000000000 --- a/multimedia/pipewire/files/patch-src_pipewire_thread-loop.c +++ /dev/null @@ -1,19 +0,0 @@ ---- src/pipewire/thread-loop.c.orig 2021-06-28 13:32:38 UTC -+++ src/pipewire/thread-loop.c -@@ -37,8 +37,14 @@ - #define pw_thread_loop_events_destroy(o) pw_thread_loop_events_emit(o, destroy, 0) - - #ifdef __FreeBSD__ --#include <pthread_np.h> --#define pthread_setname_np pthread_set_name_np -+#include <sys/param.h> -+#if __FreeBSD_version < 1202000 -+int pthread_setname_np(pthread_t thread, const char *name) -+{ -+ pthread_set_name_np(thread, name); -+ return 0; -+} -+#endif - #endif - - /** \cond */ |