rpms/libbtctl/devel libbtctl-bluez4.patch, NONE, 1.1 libbtctl.spec, 1.53, 1.54

Bastien Nocera hadess at fedoraproject.org
Thu Sep 11 12:44:10 UTC 2008


Author: hadess

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

Modified Files:
	libbtctl.spec 
Added Files:
	libbtctl-bluez4.patch 
Log Message:
* Thu Sep 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.10.0-5
- Rebuild with patch for BlueZ 4.x


libbtctl-bluez4.patch:

--- NEW FILE libbtctl-bluez4.patch ---
Index: src/btctlimpl.c
===================================================================
--- src/btctlimpl.c	(revision 134)
+++ src/btctlimpl.c	(working copy)
@@ -330,8 +330,8 @@
 	if (dd>=0) {
 		for (i = 0; i < num_rsp; i++) {
 			memset(name, 0, sizeof(name));
-			if (hci_remote_name(dd, &(info+i)->bdaddr,
-						sizeof(name), name, 100000) < 0)
+			if (hci_read_remote_name(dd, &(info+i)->bdaddr,
+						 sizeof(name), name, 100000) < 0)
 				strcpy(name, "n/a");
 
 			baswap(&bdaddr, &(info+i)->bdaddr);


Index: libbtctl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libbtctl/devel/libbtctl.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- libbtctl.spec	11 Sep 2008 12:20:57 -0000	1.53
+++ libbtctl.spec	11 Sep 2008 12:43:40 -0000	1.54
@@ -8,7 +8,7 @@
 Summary: Library for the GNOME Bluetooth Subsystem
 Name: libbtctl
 Version: 0.10.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPL+
 Group: System Environment/Libraries
 URL: http://live.gnome.org/GnomeBluetooth 
@@ -23,6 +23,7 @@
 %{expand BuildRequires: mono-devel gtk-sharp-gapi gtk-sharp}
 %endif
 
+Patch1: libbtctl-bluez4.patch
 Patch2: libbtctl-0.4.1-pydir.patch
 
 %description
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q
+%patch1 -p0 -b .bluez4
 %patch2 -p1 -b .pydir
 aclocal
 automake -a
@@ -109,6 +111,9 @@
 %{_datadir}/gtk-doc/html/libbtctl
 
 %changelog
+* Thu Sep 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.10.0-5
+- Rebuild with patch for BlueZ 4.x
+
 * Thu Sep 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.10.0-4
 - Rebuild
 




More information about the fedora-extras-commits mailing list