bluez-utils-2.21: add very small patch to make it work on the h1940
authorArjan Schrijver <arjan@anymore.nl>
Thu, 15 Dec 2005 15:52:55 +0000 (15:52 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 15 Dec 2005 15:52:55 +0000 (15:52 +0000)
packages/bluez/bluez-utils.inc
packages/bluez/files/hciattach_devlength.patch [new file with mode: 0644]

index 07dc5d6..4fb7efd 100644 (file)
@@ -9,6 +9,7 @@ PR = "r7"
 SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
        file://base.patch;patch=1 \
        file://blueboxes.patch;patch=1 \
+       file://hciattach_devlength.patch;patch=1 \
        file://hcid.conf \
        file://bluetooth.default \
        file://bluetooth.conf "
diff --git a/packages/bluez/files/hciattach_devlength.patch b/packages/bluez/files/hciattach_devlength.patch
new file mode 100644 (file)
index 0000000..8d84cb1
--- /dev/null
@@ -0,0 +1,11 @@
+--- bluez-utils-2.21/tools/hciattach.c.orig    2005-12-15 16:29:55.000000000 +0100
++++ bluez-utils-2.21/tools/hciattach.c 2005-12-15 16:29:37.000000000 +0100
+@@ -973,7 +973,7 @@
+       int send_break = 0;
+       pid_t pid;
+       struct sigaction sa;
+-      char dev[20];
++      char dev[25];
+       detach = 1;
+       printpid = 0;