aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-29 16:52:21 +0000
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-29 16:53:48 +0000
commite8fc49f319a93a458405075aceba12eb5b9ca3f1 (patch)
tree3a677ba70d5d924e55ec671add4dd59898f6bc63
parent5793c57c073871349070b4d2e71cf0bd116e6660 (diff)
downloadopenembedded-e8fc49f319a93a458405075aceba12eb5b9ca3f1.tar.gz
openembedded-e8fc49f319a93a458405075aceba12eb5b9ca3f1.tar.bz2
openembedded-e8fc49f319a93a458405075aceba12eb5b9ca3f1.zip
bluez4: add compile patch fixing some usb declaration mismatch
-rw-r--r--packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch13
-rw-r--r--packages/bluez/bluez4_4.27.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch b/packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch
new file mode 100644
index 0000000000..b1ee510e8b
--- /dev/null
+++ b/packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch
@@ -0,0 +1,13 @@
+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;
+ }
diff --git a/packages/bluez/bluez4_4.27.bb b/packages/bluez/bluez4_4.27.bb
index c0d5c19c2e..89bd3b62b0 100644
--- a/packages/bluez/bluez4_4.27.bb
+++ b/packages/bluez/bluez4_4.27.bb
@@ -4,10 +4,11 @@ PRIORITY = "optional"
DEPENDS = "gst-plugins-base alsa-lib libusb1 dbus-glib"
HOMEPAGE = "http://www.bluez.org"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "\
http://www.kernel.org/pub/linux/bluetooth/bluez-${PV}.tar.gz \
+ file://fix-dfutool-usb-declaration-mismatch.patch;patch=1 \
file://sbc-thumb.patch;patch=1 \
file://hid2hci_usb_init.patch;patch=1 \
"