rpms/cwiid/devel cwiid-0.6.00-bluez-api.patch, NONE, 1.1 cwiid.spec, 1.5, 1.6

Mamoru Tasaka mtasaka at fedoraproject.org
Thu Sep 11 05:47:50 UTC 2008


Author: mtasaka

Update of /cvs/extras/rpms/cwiid/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20384

Modified Files:
	cwiid.spec 
Added Files:
	cwiid-0.6.00-bluez-api.patch 
Log Message:
Fix for bluez api change

cwiid-0.6.00-bluez-api.patch:

--- NEW FILE cwiid-0.6.00-bluez-api.patch ---
--- cwiid-0.6.00/libcwiid/bluetooth.c.debug	2007-04-25 11:41:13.000000000 +0900
+++ cwiid-0.6.00/libcwiid/bluetooth.c	2008-09-11 14:40:22.000000000 +0900
@@ -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;


Index: cwiid.spec
===================================================================
RCS file: /cvs/extras/rpms/cwiid/devel/cwiid.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- cwiid.spec	11 Sep 2008 05:25:57 -0000	1.5
+++ cwiid.spec	11 Sep 2008 05:47:20 -0000	1.6
@@ -10,6 +10,7 @@
 URL:            http://abstrakraft.org/cwiid/
 Source0:        http://abstrakraft.org/cwiid/downloads/cwiid-%{version}.tgz
 Source1:        wmgui.desktop
+Patch0:         cwiid-0.6.00-bluez-api.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  bluez-libs-devel, gawk, bison, flex, gtk2-devel, python-devel >= 2.4, desktop-file-utils
@@ -60,6 +61,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .api
 
 %build
 %configure CC="gcc %{optflags}" --disable-static
@@ -112,6 +114,7 @@
 %changelog
 * Thu Sep 11 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 0.6.00-9
 - F-10: rebuild against new bluez
+- Fix for bluez api change
 
 * Thu May  1 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 0.6.00-7
 - Rename -wmgui to -tools and repackage.




More information about the fedora-extras-commits mailing list