rpms/bluez/devel bluez-fix-audio-service-crasher.patch, NONE, 1.1 bluez.spec, 1.55, 1.56
Bastien Nocera
hadess at fedoraproject.org
Fri Apr 3 17:37:15 UTC 2009
Author: hadess
Update of /cvs/pkgs/rpms/bluez/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19530
Modified Files:
bluez.spec
Added Files:
bluez-fix-audio-service-crasher.patch
Log Message:
* Fri Apr 03 2009 - Bastien Nocera <bnocera at redhat.com> - 4.34-2
- Don't crash when audio devices are registered and the adapter
is removed
bluez-fix-audio-service-crasher.patch:
--- NEW FILE bluez-fix-audio-service-crasher.patch ---
diff --git a/audio/device.c b/audio/device.c
index aeca576..f66cd61 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -617,5 +617,8 @@ void audio_device_unregister(struct audio_device *device)
if (device->control)
control_unregister(device);
+ g_dbus_unregister_interface(device->conn, device->path,
+ AUDIO_INTERFACE);
+
device_free(device);
}
Index: bluez.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez/devel/bluez.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- bluez.spec 29 Mar 2009 21:15:06 -0000 1.55
+++ bluez.spec 3 Apr 2009 17:36:45 -0000 1.56
@@ -1,7 +1,7 @@
Summary: Bluetooth utilities
Name: bluez
Version: 4.34
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/System
Source: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
@@ -14,6 +14,8 @@
Patch2: bluez-try-utf8-harder.patch
# http://thread.gmane.org/gmane.linux.bluez.kernel/1754
Patch3: bluez-activate-wacom-mode2.patch
+# http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=457056310229911e820357470ee8fb30c82516da
+Patch4: bluez-fix-audio-service-crasher.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.bluez.org/
@@ -102,6 +104,7 @@
%patch1 -p0 -b .oui
%patch2 -p1 -b .non-utf8-name
%patch3 -p1 -b .wacom
+%patch4 -p1 -b .audio-service-crasher
%build
%configure --enable-cups --enable-hid2hci --enable-dfutool --enable-tools --enable-bccmd --enable-gstreamer --enable-hidd --enable-pand --enable-dund
@@ -194,6 +197,10 @@
%{_libdir}/alsa-lib/*.so
%changelog
+* Fri Apr 03 2009 - Bastien Nocera <bnocera at redhat.com> - 4.34-2
+- Don't crash when audio devices are registered and the adapter
+ is removed
+
* Sun Mar 29 2009 - Bastien Nocera <bnocera at redhat.com> - 4.34-1
- Update to 4.34
More information about the fedora-extras-commits
mailing list