summaryrefslogtreecommitdiff
path: root/audio/bristol/03-rm_alsa-iatomic.h.patch
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-21 13:29:29 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:52 +0700
commitf9c306688c9955be20fee6e8a9959fcedd47957f (patch)
tree0e8e49a09683fe98d26b1166e0127bbb5b4923e9 /audio/bristol/03-rm_alsa-iatomic.h.patch
parentdc6f889ba964f16d679edccc42b36715f998fb05 (diff)
downloadslackbuilds-f9c306688c9955be20fee6e8a9959fcedd47957f.tar.gz
audio/bristol: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/bristol/03-rm_alsa-iatomic.h.patch')
-rw-r--r--audio/bristol/03-rm_alsa-iatomic.h.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/bristol/03-rm_alsa-iatomic.h.patch b/audio/bristol/03-rm_alsa-iatomic.h.patch
new file mode 100644
index 0000000000..a7357643d8
--- /dev/null
+++ b/audio/bristol/03-rm_alsa-iatomic.h.patch
@@ -0,0 +1,26 @@
+Description: Stop using alsa/iatomic.h
+ Technically this is an API breakage in libasound 1.1.2,
+ but it makes sense to me that this header was removed
+ by ALSA upstream.
+ .
+ bristol was the only user in Debian, and even here the
+ code that once used it was already commented out.
+Author: Adrian Bunk <bunk@stusta.de>
+Reviewed-by: James Cowgill <jcowgill@debian.org>
+ Herbert Parentes Fortes Neto <hpfn@debian.org>
+Bug-Debian: https://bugs.debian.org/834180
+Forwarded: no
+Index: bristol-0.60.11/libbristolaudio/audioEngineJack.c
+===================================================================
+--- bristol-0.60.11.orig/libbristolaudio/audioEngineJack.c
++++ bristol-0.60.11/libbristolaudio/audioEngineJack.c
+@@ -38,9 +38,6 @@
+ #include <string.h>
+
+ #ifdef _BRISTOL_JACK
+-#if (BRISTOL_HAS_ALSA == 1)
+-#include <alsa/iatomic.h>
+-#endif
+
+ /*
+ * Drop this atomic stuff, it comes from the ALSA library and it not present on