[oe-commits] Phil Blundell : pulseaudio: turn off eleet a5m 0ptimiZ4ti0nZ in thumb mode
git version control
git at git.openembedded.org
Sun Sep 20 07:05:16 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: f229a7876a539468c13d5feb0032c8d5c352175d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f229a7876a539468c13d5feb0032c8d5c352175d
Author: Phil Blundell <philb at gnu.org>
Date: Sun Sep 20 08:03:36 2009 +0100
pulseaudio: turn off eleet a5m 0ptimiZ4ti0nZ in thumb mode
---
.../pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch | 11 +++++++++++
recipes/pulseaudio/pulseaudio_0.9.15.bb | 1 +
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 0000000..8a2bc84
--- /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 639e449..64ca916 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() {
More information about the Openembedded-commits
mailing list