summaryrefslogtreecommitdiff
path: root/audio/pulseaudio/files/patch-src_tests_atomic-test.c
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-09-15 16:15:03 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-09-15 16:15:03 +0000
commit7450130c23cfe76519be8bad69274566c64dc091 (patch)
tree69a47a0deddbe62e2e3ad4aaf3ead6dba659dd3c /audio/pulseaudio/files/patch-src_tests_atomic-test.c
parentUpdate to 2.11.353 (diff)
audio/pulseaudio: update to 13.0
- Connect tests to the framework Changes: https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/13.0/ ABI: https://abi-laboratory.pro/tracker/timeline/pulseaudio/ PR: 240585 Submitted by: lightside@gmx.com
Notes
Notes: svn path=/head/; revision=512113
Diffstat (limited to 'audio/pulseaudio/files/patch-src_tests_atomic-test.c')
-rw-r--r--audio/pulseaudio/files/patch-src_tests_atomic-test.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/pulseaudio/files/patch-src_tests_atomic-test.c b/audio/pulseaudio/files/patch-src_tests_atomic-test.c
new file mode 100644
index 000000000000..bc194e7ffe99
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_tests_atomic-test.c
@@ -0,0 +1,14 @@
+--- src/tests/atomic-test.c.orig 2019-09-13 13:10:23 UTC
++++ src/tests/atomic-test.c
+@@ -51,6 +51,11 @@
+
+ #define MEMORY_SIZE (8 * 2 * 1024 * 1024)
+
++#ifdef __FreeBSD__
++#include <sys/cpuset.h>
++#define cpu_set_t cpuset_t
++#endif
++
+
+ typedef struct io_t {
+ pa_atomic_t *flag;