Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package srt for openSUSE:Factory checked in at 2021-02-16 22:35:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/srt (Old) and /work/SRC/openSUSE:Factory/.srt.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "srt" Tue Feb 16 22:35:25 2021 rev:11 rq:870841 version:1.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/srt/srt.changes 2020-11-13 18:52:30.241676064 +0100 +++ /work/SRC/openSUSE:Factory/.srt.new.28504/srt.changes 2021-02-16 22:37:09.433711156 +0100 @@ -1,0 +2,6 @@ +Wed Feb 10 10:29:12 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Add patch to fix build with GCC 11 (boo#1181883) + * 0001-Fix-build-with-GCC-11.patch + +------------------------------------------------------------------- New: ---- 0001-Fix-build-with-GCC-11.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ srt.spec ++++++ --- /var/tmp/diff_new_pack.f59HQQ/_old 2021-02-16 22:37:10.213712196 +0100 +++ /var/tmp/diff_new_pack.f59HQQ/_new 2021-02-16 22:37:10.217712201 +0100 @@ -1,7 +1,7 @@ # # spec file for package srt # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ URL: https://www.srtalliance.org Source0: https://github.com/Haivision/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf +# PATCH-FIX-UPSTREAM +Patch0: 0001-Fix-build-with-GCC-11.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ @@ -75,7 +77,7 @@ %install %cmake_install -%fdupes %{buildroot}/%{_prefix} +%fdupes %{buildroot}%{_prefix} %post -n libsrt%{sover} -p /sbin/ldconfig %postun -n libsrt%{sover} -p /sbin/ldconfig ++++++ 0001-Fix-build-with-GCC-11.patch ++++++ >From 93d0a244b8494a436ce97343bb46174a731aaef1 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <[email protected]> Date: Wed, 10 Feb 2021 11:28:02 +0100 Subject: [PATCH] Fix build with GCC 11. The 'limits' header must be included explicitly. --- srtcore/sync.h | 1 + 1 file changed, 1 insertion(+) diff --git a/srtcore/sync.h b/srtcore/sync.h index 59c125a..9f01ca9 100644 --- a/srtcore/sync.h +++ b/srtcore/sync.h @@ -15,6 +15,7 @@ //#define ENABLE_CXX17 #include <cstdlib> +#include <limits> #ifdef ENABLE_STDCXX_SYNC #include <chrono> #include <thread> -- 2.30.0
