- Don't crash when audio devices are registered and the adapter is removed
This commit is contained in:
parent
8b75e7d260
commit
f7f06cd55a
13
bluez-fix-audio-service-crasher.patch
Normal file
13
bluez-fix-audio-service-crasher.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
@ -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 @@ Patch1: bluez-utils-oui-usage.patch
|
||||
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 @@ use in Bluetooth applications.
|
||||
%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 @@ fi
|
||||
%{_libdir}/alsa-lib/*.so
|
||||
|
||||
%changelog
|
||||
* Fri Apr 03 2009 - Bastien Nocera <bnocera@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@redhat.com> - 4.34-1
|
||||
- Update to 4.34
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user