Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2021-08-26 23:14:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bluez" Thu Aug 26 23:14:17 2021 rev:180 rq:913951 version:5.60 Changes: -------- --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2021-08-12 09:02:10.782101871 +0200 +++ /work/SRC/openSUSE:Factory/.bluez.new.1899/bluez.changes 2021-08-26 23:14:29.372264022 +0200 @@ -1,0 +2,7 @@ +Tue Aug 10 09:49:45 UTC 2021 - Stefan Seyfried <seife+...@b1-systems.com> + +- add fedora's patches 0002-Use-g_memdup2-everywhere.patch and + 0005-media-rename-local-function-conflicting-with-pause-2.patch + to fix compatibility problems with newer glib and glibc + +------------------------------------------------------------------- New: ---- 0002-Use-g_memdup2-everywhere.patch 0005-media-rename-local-function-conflicting-with-pause-2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluez.spec ++++++ --- /var/tmp/diff_new_pack.D2tqlf/_old 2021-08-26 23:14:30.168263317 +0200 +++ /var/tmp/diff_new_pack.D2tqlf/_new 2021-08-26 23:14:30.172263314 +0200 @@ -45,6 +45,11 @@ Patch4: bluez-disable-broken-tests.diff # get rid of python2. WARNING: this is autogenerated by 2to3 and might not work Patch5: bluez-test-2to3.diff +# +# patches boorrowed from fedora's package, for compatibility with newer glib and glibc +Patch6: 0002-Use-g_memdup2-everywhere.patch +Patch7: 0005-media-rename-local-function-conflicting-with-pause-2.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 ++++++ 0002-Use-g_memdup2-everywhere.patch ++++++ ++++ 997 lines (skipped) ++++++ 0005-media-rename-local-function-conflicting-with-pause-2.patch ++++++ >From 124dee151746b4a8a2e8a7194af78f2c82f75d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbys...@in.waw.pl> Date: Wed, 3 Mar 2021 08:57:36 +0100 Subject: [PATCH] media: rename local function conflicting with pause(2) profiles/audio/media.c:1284:13: error: conflicting types for 'pause'; have '_Bool(void *)' 1284 | static bool pause(void *user_data) | ^~~~~ In file included from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:315, from /usr/include/glib-2.0/glib/gbacktrace.h:36, from /usr/include/glib-2.0/glib.h:34, from profiles/audio/media.c:21: /usr/include/unistd.h:478:12: note: previous declaration of 'pause' with type 'int(void)' 478 | extern int pause (void); | ^~~~~ --- profiles/audio/media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/audio/media.c b/profiles/audio/media.c index c84bbe22dc..3d8c4b69c3 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -1281,7 +1281,7 @@ static bool stop(void *user_data) return media_player_send(mp, "Stop"); } -static bool pause(void *user_data) +static bool pause_play(void *user_data) { struct media_player *mp = user_data; @@ -1331,7 +1331,7 @@ static struct avrcp_player_cb player_cb = { .set_volume = set_volume, .play = play, .stop = stop, - .pause = pause, + .pause = pause_play, .next = next, .previous = previous, };