summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-07-19 22:12:30 +0000
committer Eric Hameleers <alien@slackware.com>2010-07-19 22:12:30 +0000
commitdcf6dc0709f66617051f1b6db62fab11ffdf02e6 (patch)
tree0baa70d3b8f6f77275e7a52cca68c4257ca7f432
parentddef93689cae47a81492a8734c0b8e1c5a038098 (diff)
downloadasb-dcf6dc0709f66617051f1b6db62fab11ffdf02e6.tar.gz
asb-dcf6dc0709f66617051f1b6db62fab11ffdf02e6.tar.xz
Initial revision
-rw-r--r--libwiimote/build/libwiimote-0.4-bluez4.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/libwiimote/build/libwiimote-0.4-bluez4.patch b/libwiimote/build/libwiimote-0.4-bluez4.patch
new file mode 100644
index 00000000..4f18c0dd
--- /dev/null
+++ b/libwiimote/build/libwiimote-0.4-bluez4.patch
@@ -0,0 +1,23 @@
+--- configure.in 2009-08-14 02:59:47.000000000 +0200
++++ configure.in2 2009-08-14 02:59:37.000000000 +0200
+@@ -10,7 +10,7 @@
+ AC_PROG_INSTALL
+
+ # Checks for BlueZ.
+-AC_CHECK_LIB([bluetooth], [hci_remote_name],
++AC_CHECK_LIB([bluetooth], [hci_read_remote_name],
+ [], [AC_MSG_ERROR([We require BlueZ])])
+
+ AC_CONFIG_FILES([config.mk
+--- src/wiimote_link.c2 2009-08-14 02:56:05.000000000 +0200
++++ src/wiimote_link.c 2009-08-14 02:57:16.000000000 +0200
+@@ -95,7 +95,7 @@
+ return 0;
+ }
+
+- if (hci_remote_name(hci_sock, &dev->bdaddr, WIIMOTE_CMP_LEN, dev_name, 5000)) {
++ if (hci_read_remote_name(hci_sock, &dev->bdaddr, WIIMOTE_CMP_LEN, dev_name, 5000)) {
+ wiimote_error("is_wiimote(): Error reading device name: %m");
+ return 0;
+ }
+