summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/bluez/bluez4-4.99
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-03-14 15:18:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 12:40:07 +0000
commitfac7863c0f00b442283689e27fae153ccf5428b0 (patch)
treeec2df779406c1dcf25ce981235f24348982abdee /meta/recipes-connectivity/bluez/bluez4-4.99
parent5624201471f9d3fb7c6d9858a40f63dd88354f94 (diff)
downloadopenembedded-core-fac7863c0f00b442283689e27fae153ccf5428b0.tar.gz
openembedded-core-fac7863c0f00b442283689e27fae153ccf5428b0.tar.bz2
openembedded-core-fac7863c0f00b442283689e27fae153ccf5428b0.tar.xz
openembedded-core-fac7863c0f00b442283689e27fae153ccf5428b0.zip
bluez4: upgrade to 4.99
Signed-off-by: Shane Wang <shane.wang@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/bluez/bluez4-4.99')
-rw-r--r--meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf16
-rw-r--r--meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch24
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf b/meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf
new file mode 100644
index 000000000..ca5e9e4f2
--- /dev/null
+++ b/meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf
@@ -0,0 +1,16 @@
+<!-- This configuration file specifies the required security policies
+ for Bluetooth core daemon to work. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- ../system.conf have denied everything, so we just punch some holes -->
+
+ <policy context="default">
+ <allow own="org.bluez"/>
+ <allow send_destination="org.bluez"/>
+ <allow send_interface="org.bluez.Agent"/>
+ </policy>
+
+</busconfig>
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch b/meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch
new file mode 100644
index 000000000..98fab458b
--- /dev/null
+++ b/meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch
@@ -0,0 +1,24 @@
+on x86 and x86_64 gcc 4.7 complains
+
+sbc/sbc_primitives_mmx.c: In function 'sbc_calc_scalefactors_mmx':
+sbc/sbc_primitives_mmx.c:294:4: warning: asm operand 2 probably doesn't match constraints [enabled by default]
+sbc/sbc_primitives_mmx.c:294:4: error: impossible constraint in 'asm'
+
+This patch is taken from https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/911871
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Upstream-Status: Pending
+Index: bluez-4.98/sbc/sbc_primitives_mmx.c
+===================================================================
+--- bluez-4.98.orig/sbc/sbc_primitives_mmx.c 2011-12-21 14:53:54.000000000 -0800
++++ bluez-4.98/sbc/sbc_primitives_mmx.c 2012-02-24 10:07:03.422073800 -0800
+@@ -318,7 +318,7 @@
+ "movl %k0, 4(%3)\n"
+ : "+r" (blk)
+ : "r" (&sb_sample_f[0][ch][sb]),
+- "i" ((char *) &sb_sample_f[1][0][0] -
++ "r" ((char *) &sb_sample_f[1][0][0] -
+ (char *) &sb_sample_f[0][0][0]),
+ "r" (&scale_factor[ch][sb]),
+ "r" (&consts),