[oe-commits] Michael 'Mickey' Lauer : bluez4: add compile patch fixing some usb declaration mismatch

GIT User account git at amethyst.openembedded.net
Thu Jan 29 16:55:36 UTC 2009


Module: openembedded.git
Branch: fso/milestone5
Commit: e8fc49f319a93a458405075aceba12eb5b9ca3f1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e8fc49f319a93a458405075aceba12eb5b9ca3f1

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Thu Jan 29 16:52:21 2009 +0000

bluez4: add compile patch fixing some usb declaration mismatch

---

 .../fix-dfutool-usb-declaration-mismatch.patch     |   13 +++++++++++++
 packages/bluez/bluez4_4.27.bb                      |    3 ++-
 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 0000000..b1ee510
--- /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 c0d5c19..89bd3b6 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 \
 "    





More information about the Openembedded-commits mailing list