summaryrefslogtreecommitdiff
path: root/misc/cwiid/bluez_4_api_changes.patch
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-06-13 15:18:16 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-13 15:18:16 -0500
commit84f6dbb0902fb148be6d9706768c4abcd6eb623e (patch)
tree0129e32d43f4a8a222f3afa118b5b330a7b44fa6 /misc/cwiid/bluez_4_api_changes.patch
parent28ac7ec060e16a1694d8954904bf31043e1b734b (diff)
downloadslackbuilds-84f6dbb0902fb148be6d9706768c4abcd6eb623e.tar.gz
misc/cwiid: Added (tools for the Nintendo Wiimote)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/cwiid/bluez_4_api_changes.patch')
-rw-r--r--misc/cwiid/bluez_4_api_changes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/cwiid/bluez_4_api_changes.patch b/misc/cwiid/bluez_4_api_changes.patch
new file mode 100644
index 0000000000..dbbc790c57
--- /dev/null
+++ b/misc/cwiid/bluez_4_api_changes.patch
@@ -0,0 +1,11 @@
+--- cwiid-0.6.00.orig/libcwiid/bluetooth.c.old 2008-09-30 16:52:55.000000000 -0500
++++ cwiid-0.6.00.orig/libcwiid/bluetooth.c 2008-09-30 16:53:19.000000000 -0500
+@@ -122,7 +122,7 @@
+ }
+
+ /* timeout (10000) in milliseconds */
+- if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN,
++ if (hci_read_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN,
+ (*bdinfo)[bdinfo_count].name, 10000)) {
+ cwiid_err(NULL, "Bluetooth name read error");
+ err = 1;