- Update to version 2.10.2: * Fix portability to GNU Hurd. - Add noson-fix-missing-include.patch: Add missing include <cstdint> exposed by gcc 13. - Rebase noson-include-time.h.patch with quilt. - Use ldconfig_scriptlets macro. OBS-URL: https://build.opensuse.org/request/show/1076673 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/noson?expand=0&rev=64
23 lines
761 B
Diff
23 lines
761 B
Diff
commit 9e6d6cc8c0c9be3da120e7de4fb9d794e97fa66f
|
|
Author: Dominique Leuenberger <dimstar@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
|
|
|
|
Index: noson-2.10.2/noson/src/private/os/threads/timeout.h
|
|
===================================================================
|
|
--- noson-2.10.2.orig/noson/src/private/os/threads/timeout.h
|
|
+++ noson-2.10.2/noson/src/private/os/threads/timeout.h
|
|
@@ -27,6 +27,7 @@
|
|
#elif !defined(__WINDOWS__)
|
|
#include <time.h>
|
|
#endif
|
|
+#include <time.h>
|
|
|
|
#ifdef NSROOT
|
|
namespace NSROOT {
|