summaryrefslogtreecommitdiff
path: root/recipes/pulseaudio
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pulseaudio')
-rw-r--r--recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch11
-rw-r--r--recipes/pulseaudio/pulseaudio_0.9.15.bb1
2 files changed, 12 insertions, 0 deletions
diff --git a/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch b/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch
new file mode 100644
index 0000000000..8a2bc84004
--- /dev/null
+++ b/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch
@@ -0,0 +1,11 @@
+--- f/src/modules/bluetooth/sbc_math.h~ 2008-03-05 20:18:03.000000000 +0000
++++ f/src/modules/bluetooth/sbc_math.h 2008-10-27 13:39:27.000000000 +0000
+@@ -59,7 +59,7 @@
+
+ #define SBC_FIXED_0(val) { val = 0; }
+ #define MUL(a, b) ((a) * (b))
+-#ifdef __arm__
++#if defined(__arm__) && !defined(__thumb__)
+ #define MULA(a, b, res) ({ \
+ int tmp = res; \
+ __asm__( \
diff --git a/recipes/pulseaudio/pulseaudio_0.9.15.bb b/recipes/pulseaudio/pulseaudio_0.9.15.bb
index 639e449ccb..64ca916659 100644
--- a/recipes/pulseaudio/pulseaudio_0.9.15.bb
+++ b/recipes/pulseaudio/pulseaudio_0.9.15.bb
@@ -14,6 +14,7 @@ SRC_URI += "\
file://gettext.patch;patch=1 \
file://fixbluezbuild.patch;patch=1 \
file://tls_m4.patch;patch=1 \
+ file://sbc-thumb.patch;patch=1 \
"
do_compile_prepend() {