Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package noson for openSUSE:Factory checked in at 2022-08-16 17:07:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/noson (Old) and /work/SRC/openSUSE:Factory/.noson.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "noson" Tue Aug 16 17:07:31 2022 rev:12 rq:995743 version:2.8.6 Changes: -------- --- /work/SRC/openSUSE:Factory/noson/noson.changes 2022-05-17 17:24:37.159181089 +0200 +++ /work/SRC/openSUSE:Factory/.noson.new.1521/noson.changes 2022-08-16 17:07:31.591839133 +0200 @@ -1,0 +2,6 @@ +Thu Aug 11 09:50:45 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org> + +- Add noson-include-time.h.patch: fix build with recent gcc12 + branch. time.h is no longer implicit included. + +------------------------------------------------------------------- New: ---- noson-include-time.h.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ noson.spec ++++++ --- /var/tmp/diff_new_pack.DXQntD/_old 2022-08-16 17:07:32.083840604 +0200 +++ /var/tmp/diff_new_pack.DXQntD/_new 2022-08-16 17:07:32.091840628 +0200 @@ -24,6 +24,8 @@ Group: Development/Libraries/C and C++ URL: https://github.com/janbar/noson/ Source0: https://github.com/janbar/noson/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM noson-include-time.h.patch gh#janbar/noson#16 -- Fix build with gcc 12.1 +Patch0: noson-include-time.h.patch BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: flac-devel @@ -56,7 +58,7 @@ to browse music index and control playback in any zones. %prep -%setup -q +%autosetup -p1 %build %cmake \ ++++++ noson-include-time.h.patch ++++++ commit 9e6d6cc8c0c9be3da120e7de4fb9d794e97fa66f Author: Dominique Leuenberger <dims...@opensuse.org> Date: Thu Aug 11 11:48:51 2022 +0200 threads: include time.h Otherwise we fail with [ 23s] /home/abuild/rpmbuild/BUILD/noson-2.8.6/noson/src/private/os/threads/timeout.h:58:5: error: 'clock_gettime' was not declared in this scope on most recent gcc 12 branch diff --git a/noson/src/private/os/threads/timeout.h b/noson/src/private/os/threads/timeout.h index f0c3453..d259ca6 100644 --- a/noson/src/private/os/threads/timeout.h +++ b/noson/src/private/os/threads/timeout.h @@ -25,6 +25,7 @@ #if defined(__APPLE__) #include <mach/mach_time.h> #endif +#include <time.h> #ifdef NSROOT namespace NSROOT {