fix instant segfault
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=57
This commit is contained in:
parent
77ae1fd1f3
commit
753c15d467
25
0001-Remove-double-g_option_context_free-call.patch
Normal file
25
0001-Remove-double-g_option_context_free-call.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 86b16d8a63d8d6191533418dd1c38ce35c3fbf0a Mon Sep 17 00:00:00 2001
|
||||
From: Marcel Holtmann <marcel@holtmann.org>
|
||||
Date: Mon, 12 Jul 2010 23:59:34 -0300
|
||||
Subject: [PATCH] Remove double g_option_context_free() call
|
||||
|
||||
---
|
||||
src/main.c | 2 --
|
||||
1 files changed, 0 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index 94a6f0e..6113217 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -410,8 +410,6 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
- g_option_context_free(context);
|
||||
-
|
||||
if (option_detach == TRUE && option_udev == FALSE) {
|
||||
if (daemon(0, 0)) {
|
||||
perror("Can't start daemon");
|
||||
--
|
||||
1.7.1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 08:12:57 UTC 2010 - seife@opensuse.org
|
||||
|
||||
- fix instant segfault of bluetoothd (upstream commit
|
||||
86b16d8a63d8d6191533418dd1c38ce35c3fbf0a)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 06:19:00 UTC 2010 - seife@opensuse.org
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 08:12:57 UTC 2010 - seife@opensuse.org
|
||||
|
||||
- fix instant segfault of bluetoothd (upstream commit
|
||||
86b16d8a63d8d6191533418dd1c38ce35c3fbf0a)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 06:19:00 UTC 2010 - seife@opensuse.org
|
||||
|
||||
|
@ -38,6 +38,8 @@ Source6: README.SUSE
|
||||
Source7: bluetooth.modprobe
|
||||
Patch1: bluez-4.44-udev-use-helperscript.diff
|
||||
Patch2: 001-remove-rule-dell-mouse.patch
|
||||
# needed until next upstream release --seife
|
||||
Patch42: 0001-Remove-double-g_option_context_free-call.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: bluez-utils = 3.36
|
||||
Obsoletes: bluez-utils <= 3.36
|
||||
@ -176,6 +178,7 @@ Authors:
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch42 -p1
|
||||
cp %{S:6} .
|
||||
%{?suse_update_config:%{suse_update_config -f . }}
|
||||
mkdir dbus-apis
|
||||
|
Loading…
Reference in New Issue
Block a user