From b6b5bcb9c69e30ca9242e009e80ed4e7fb07e82f Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Thu, 29 Jan 2009 16:52:21 +0000 Subject: bluez4: add compile patch fixing some usb declaration mismatch --- .../bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch | 13 +++++++++++++ packages/bluez/bluez4_4.27.bb | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch (limited to 'packages/bluez') 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 10cc4fe723..c9aa79e8ed 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 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 \ " -- cgit v1.2.3