summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-29 16:52:21 +0000
committerJan Lübbe <jluebbe@debian.org>2009-02-04 10:14:55 +0000
commitb6b5bcb9c69e30ca9242e009e80ed4e7fb07e82f (patch)
tree3c183c4d8ce20b731da4e7efab593cfe032f7caa /packages
parente5115e009a1153c9e1a502f01ffe50a4d65ae44e (diff)
bluez4: add compile patch fixing some usb declaration mismatch
Diffstat (limited to 'packages')
-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 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 \
"