Hello community,

here is the log from the commit of package bluez for openSUSE:Factory checked 
in at 2019-08-05 10:28:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bluez (Old)
 and      /work/SRC/openSUSE:Factory/.bluez.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bluez"

Mon Aug  5 10:28:01 2019 rev:163 rq:714689 version:5.50

Changes:
--------
--- /work/SRC/openSUSE:Factory/bluez/bluez.changes      2019-07-02 
10:49:39.487619108 +0200
+++ /work/SRC/openSUSE:Factory/.bluez.new.4126/bluez.changes    2019-08-05 
10:28:02.611461285 +0200
@@ -1,0 +2,12 @@
+Thu Jul 11 04:29:46 UTC 2019 - Al Cho <a...@suse.com>
+
+- Fix 43xx firmware path for RPi3 bluetooth support (bsc#1140688)
+ - Add RPi-Move-the-43xx-firmware-into-lib-firmware.patch
+
+-------------------------------------------------------------------
+Wed Jul 10 06:02:54 UTC 2019 - Jiri Slaby <jsl...@suse.com>
+
+- Add 0001-tools-Fix-build-after-y2038-changes-in-glibc.patch: Fix
+  build after y2038 changes in glibc
+
+-------------------------------------------------------------------

New:
----
  0001-tools-Fix-build-after-y2038-changes-in-glibc.patch
  RPi-Move-the-43xx-firmware-into-lib-firmware.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bluez.spec ++++++
--- /var/tmp/diff_new_pack.qgXC13/_old  2019-08-05 10:28:04.639461074 +0200
+++ /var/tmp/diff_new_pack.qgXC13/_new  2019-08-05 10:28:04.675461070 +0200
@@ -42,6 +42,10 @@
 Patch7:         0001-policy-Add-logic-to-connect-a-Sink.patch
 # PATCH-FIX-UPSTREAM a2dp fixes for newer codecs
 Patch8:                bluez-5.50-a2dp-backports.patch
+# PATCH-FIX-UPSTREAM tools: Fix build after y2038 changes in glibc
+Patch9:         0001-tools-Fix-build-after-y2038-changes-in-glibc.patch
+# Move 43xx firmware path for RPi3 bluetooth support bsc#1140688
+Patch10:        RPi-Move-the-43xx-firmware-into-lib-firmware.patch
 # Upstream suggests to use btmon instead of hcidump and does not want those 
patches
 # => PATCH-FIX-OPENSUSE for those two :-)
 # fix some memory leak with malformed packet (reported upstream but not yet 
fixed)
@@ -165,6 +169,8 @@
 %endif
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
+%patch10 -p1
 %patch101 -p1
 %patch102 -p1
 mkdir dbus-apis

++++++ 0001-tools-Fix-build-after-y2038-changes-in-glibc.patch ++++++
From: Bastien Nocera <had...@hadess.net>
Date: Fri, 7 Jun 2019 09:51:33 +0200
Subject: tools: Fix build after y2038 changes in glibc
Git-repo: git://git.kernel.org/pub/scm/bluetooth/bluez.git
Git-commit: f36f71f60b1e68c0f12e615b9b128d089ec3dd19
Patch-mainline: yes

The 32-bit SIOCGSTAMP has been deprecated. Use the deprecated name
to fix the build.

Signed-off-by: Jiri Slaby <jsl...@suse.cz>
---
 tools/l2test.c | 6 +++++-
 tools/rctest.c | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/tools/l2test.c b/tools/l2test.c
index e755ac881..e787c2ce2 100644
--- a/tools/l2test.c
+++ b/tools/l2test.c
@@ -55,6 +55,10 @@
 #define BREDR_DEFAULT_PSM      0x1011
 #define LE_DEFAULT_PSM         0x0080
 
+#ifndef SIOCGSTAMP_OLD
+#define SIOCGSTAMP_OLD SIOCGSTAMP
+#endif
+
 /* Test modes */
 enum {
        SEND,
@@ -907,7 +911,7 @@ static void recv_mode(int sk)
                        if (timestamp) {
                                struct timeval tv;
 
-                               if (ioctl(sk, SIOCGSTAMP, &tv) < 0) {
+                               if (ioctl(sk, SIOCGSTAMP_OLD, &tv) < 0) {
                                        timestamp = 0;
                                        memset(ts, 0, sizeof(ts));
                                } else {
diff --git a/tools/rctest.c b/tools/rctest.c
index 94490f462..bc8ed875d 100644
--- a/tools/rctest.c
+++ b/tools/rctest.c
@@ -50,6 +50,10 @@
 
 #include "src/shared/util.h"
 
+#ifndef SIOCGSTAMP_OLD
+#define SIOCGSTAMP_OLD SIOCGSTAMP
+#endif
+
 /* Test modes */
 enum {
        SEND,
@@ -505,7 +509,7 @@ static void recv_mode(int sk)
                        if (timestamp) {
                                struct timeval tv;
 
-                               if (ioctl(sk, SIOCGSTAMP, &tv) < 0) {
+                               if (ioctl(sk, SIOCGSTAMP_OLD, &tv) < 0) {
                                        timestamp = 0;
                                        memset(ts, 0, sizeof(ts));
                                } else {
-- 
2.21.0

++++++ RPi-Move-the-43xx-firmware-into-lib-firmware.patch ++++++
>From 72a2a6a6fd0e623c4048d105b34d221bde87eb74 Mon Sep 17 00:00:00 2001
From: Phil Elwell <p...@raspberrypi.org>
Date: Tue, 23 Feb 2016 17:52:29 +0000
Subject: [PATCH] Move the 43xx firmware into /lib/firmware

---
 tools/hciattach_bcm43xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c
index f3231ec..21450ac 100644
--- a/tools/hciattach_bcm43xx.c
+++ b/tools/hciattach_bcm43xx.c
@@ -43,7 +43,7 @@
 #include "hciattach.h"
 
 #ifndef FIRMWARE_DIR
-#define FIRMWARE_DIR "/etc/firmware"
+#define FIRMWARE_DIR "/lib/firmware"
 #endif
 
 #define FW_EXT ".hcd"
-- 
2.9.3


Reply via email to