summaryrefslogtreecommitdiff
path: root/audio/dream/files/patch-src__sound__pa_ringbuffer.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/dream/files/patch-src__sound__pa_ringbuffer.c
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'audio/dream/files/patch-src__sound__pa_ringbuffer.c')
-rw-r--r--audio/dream/files/patch-src__sound__pa_ringbuffer.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/audio/dream/files/patch-src__sound__pa_ringbuffer.c b/audio/dream/files/patch-src__sound__pa_ringbuffer.c
deleted file mode 100644
index 00debdd6be24..000000000000
--- a/audio/dream/files/patch-src__sound__pa_ringbuffer.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/sound/pa_ringbuffer.c.orig 2013-11-11 16:33:41 UTC
-+++ src/sound/pa_ringbuffer.c
-@@ -72,12 +72,13 @@
- ****************/
-
- #if defined(__APPLE__) || defined(__FreeBSD__)
--# include <libkern/OSAtomic.h>
-+# include <sys/types.h>
-+# include <machine/atomic.h>
- /* Here are the memory barrier functions. Mac OS X and FreeBSD only provide
- full memory barriers, so the three types of barriers are the same. */
--# define PaUtil_FullMemoryBarrier() OSMemoryBarrier()
--# define PaUtil_ReadMemoryBarrier() OSMemoryBarrier()
--# define PaUtil_WriteMemoryBarrier() OSMemoryBarrier()
-+# define PaUtil_FullMemoryBarrier() mb()
-+# define PaUtil_ReadMemoryBarrier() rmb()
-+# define PaUtil_WriteMemoryBarrier() wmb()
- #elif defined(__GNUC__)
- /* GCC understands volatile asm and "memory" to mean it
- * should not reorder memory read/writes */