Accepting request 199380 from Base:System

- place socket in /run , not /var/run (bluez-sdp-unix-path.patch) (forwarded request 199034 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/199380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=110
This commit is contained in:
Stephan Kulow 2013-09-17 13:01:55 +00:00 committed by Git OBS Bridge
commit 549ec0c1ae
3 changed files with 18 additions and 1 deletions

11
bluez-sdp-unix-path.patch Normal file
View File

@ -0,0 +1,11 @@
--- bluez-5.8.orig/lib/sdp.h
+++ bluez-5.8/lib/sdp.h
@@ -34,7 +34,7 @@ extern "C" {
#include <stdint.h>
#include <bluetooth/bluetooth.h>
-#define SDP_UNIX_PATH "/var/run/sdp"
+#define SDP_UNIX_PATH "/run/sdp"
#define SDP_RESPONSE_TIMEOUT 20
#define SDP_REQ_BUFFER_SIZE 2048
#define SDP_RSP_BUFFER_SIZE 65535

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 14 08:01:17 UTC 2013 - crrodriguez@opensuse.org
- place socket in /run , not /var/run (bluez-sdp-unix-path.patch)
-------------------------------------------------------------------
Fri Aug 16 18:43:49 UTC 2013 - seife+obs@b1-systems.com

View File

@ -35,6 +35,7 @@ Source6: README.SUSE
Source7: bluetooth.modprobe
Source99: README.packagers
Patch1: bluez-5.4-compilerwarning.diff
Patch2: bluez-sdp-unix-path.patch
BuildRequires: alsa-devel
BuildRequires: automake
BuildRequires: check-devel
@ -113,7 +114,7 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
cp %{SOURCE6} .
mkdir dbus-apis
cp -a doc/*.txt dbus-apis/