rpms/libwiimote/devel libwiimote-0.4-bluez4.patch, NONE, 1.1 libwiimote.spec, 1.5, 1.6

Bastien Nocera hadess at fedoraproject.org
Thu Sep 11 12:50:07 UTC 2008


Author: hadess

Update of /cvs/pkgs/rpms/libwiimote/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16049

Modified Files:
	libwiimote.spec 
Added Files:
	libwiimote-0.4-bluez4.patch 
Log Message:
* Thu Sep 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.4-7
- Rebuild with Bluez 4.x patch


libwiimote-0.4-bluez4.patch:

--- NEW FILE libwiimote-0.4-bluez4.patch ---
diff -upr libwiimote-0.4/configure.in libwiimote-0.4.new/configure.in
--- libwiimote-0.4/configure.in	2008-09-11 13:46:48.000000000 +0100
+++ libwiimote-0.4.new/configure.in	2008-09-11 13:46:07.000000000 +0100
@@ -33,7 +33,7 @@ AC_SUBST(CPICFLAGS)
 CFLAGS="${CFLAGS} ${CPICFLAGS}"
 
 # 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
diff -upr libwiimote-0.4/src/wiimote_link.c libwiimote-0.4.new/src/wiimote_link.c
--- libwiimote-0.4/src/wiimote_link.c	2007-02-07 23:51:07.000000000 +0000
+++ libwiimote-0.4.new/src/wiimote_link.c	2008-09-11 13:48:22.000000000 +0100
@@ -95,7 +95,7 @@ static int is_wiimote(int hci_sock, inqu
 	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;
     }


Index: libwiimote.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libwiimote/devel/libwiimote.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libwiimote.spec	11 Sep 2008 12:30:52 -0000	1.5
+++ libwiimote.spec	11 Sep 2008 12:49:37 -0000	1.6
@@ -13,6 +13,7 @@
 Patch1:		libwiimote-0.4-includedir.patch
 Patch2:		libwiimote-0.4-dso-symlinks.patch
 Patch3:		libwiimote-0.4-soname.patch
+Patch4:		libwiimote-0.4-bluez4.patch
 
 BuildRequires:  autoconf
 BuildRequires:  bluez-libs-devel
@@ -38,6 +39,7 @@
 %patch1 -p1 -b .includedir
 %patch2 -p1 -b .dso-symlinks
 %patch3 -p1 -b .soname
+%patch4 -p1 -b .bluez4
 
 %build
 autoconf
@@ -70,6 +72,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Thu Sep 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.4-7
+- Rebuild with Bluez 4.x patch
+
 * Thu Sep 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.4-6
 - Rebuild
 




More information about the fedora-extras-commits mailing list