bluez4: add compile patch fixing some usb declaration mismatch
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Thu, 29 Jan 2009 16:52:21 +0000 (16:52 +0000)
committerJan Lübbe <jluebbe@debian.org>
Wed, 4 Feb 2009 10:14:55 +0000 (10:14 +0000)
packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch [new file with mode: 0644]
packages/bluez/bluez4_4.27.bb

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 (file)
index 0000000..b1ee510
--- /dev/null
@@ -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;
+ }
index 10cc4fe..c9aa79e 100644 (file)
@@ -4,10 +4,11 @@ PRIORITY = "optional"
 DEPENDS = "gst-plugins-base alsa-lib libusb-compat 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 \
 "