File libwiimote-hce_remote_name.patch of Package wiipresent

--- src/wiimote_link.c.orig	2011-04-30 01:09:20.000000000 +0200
+++ src/wiimote_link.c	2011-04-30 01:09:32.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;
     }
--- configure.in.orig	2011-04-30 01:08:43.000000000 +0200
+++ configure.in	2011-04-30 01:09:09.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
openSUSE Build Service is sponsored by