bluez4 4.96: import needed files from OE-core to avoid breakage on OE-core updates

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-08-12 09:32:04 +02:00
parent 187c1c9bb8
commit 13fb21d155
3 changed files with 36 additions and 2 deletions
@@ -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>
@@ -0,0 +1,20 @@
# bluez4: add compile patch fixing some usb declaration mismatch
# Author: Michael 'Mickey' Lauer <mickey@vanille-media.de>
# Date: Thu Jan 29 16:52:21 2009 +0000
#
# Acquired from OpenEmbedded
Upstream-Status: Pending
Index: bluez-4.27/tools/dfutool.c
===================================================================
--- bluez-4.27.orig/tools/dfutool.c
+++ bluez-4.27/tools/dfutool.c
@@ -59,7 +59,7 @@
#endif
#ifdef NEED_USB_GET_BUSSES
-static inline struct usb_bus *usb_get_busses(void)
+inline struct usb_bus *usb_get_busses(void)
{
return usb_busses;
}
@@ -14,8 +14,6 @@ ASNEEDED = ""
PR = "r0"
# to find bluez patches from oe-core
FILESPATH =. "${COREBASE}/meta/recipes-connectivity/bluez/bluez4-4.82/:"
SRC_URI = "\
${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
file://fix-dfutool-usb-declaration-mismatch.patch \