From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E59601382C5 for ; Tue, 4 May 2021 22:49:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28690E081A; Tue, 4 May 2021 22:49:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B2A1E081A for ; Tue, 4 May 2021 22:49:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16D03340D72 for ; Tue, 4 May 2021 22:49:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81060643 for ; Tue, 4 May 2021 22:49:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1620168551.332813b29e4350f990a51934bc7a975794ef4fda.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch net-libs/srt/srt-1.4.2.ebuild X-VCS-Directories: net-libs/srt/files/ net-libs/srt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 332813b29e4350f990a51934bc7a975794ef4fda X-VCS-Branch: master Date: Tue, 4 May 2021 22:49:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7a15103-86af-445c-b720-6cf25e557b2b X-Archives-Hash: fa19323b07f8007e0598043d4514473a commit: 332813b29e4350f990a51934bc7a975794ef4fda Author: Sam James gentoo org> AuthorDate: Tue May 4 22:49:11 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 4 22:49:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=332813b2 net-libs/srt: fix build with GCC 11 Closes: https://bugs.gentoo.org/787023 Signed-off-by: Sam James gentoo.org> net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch | 19 +++++++++++++++++++ net-libs/srt/srt-1.4.2.ebuild | 1 + 2 files changed, 20 insertions(+) diff --git a/net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch b/net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch new file mode 100644 index 00000000000..16c57af8092 --- /dev/null +++ b/net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/787023 +https://github.com/Haivision/srt/commit/f1b35cbf5b9b42b031e9b119e4c802b5f744468c + +From f1b35cbf5b9b42b031e9b119e4c802b5f744468c Mon Sep 17 00:00:00 2001 +From: Christophe Giboudeaux +Date: Wed, 10 Feb 2021 12:42:45 +0000 +Subject: [PATCH] [core] Fix build with GCC 11. (#1806) + +The 'limits' header must be included explicitly. +--- a/srtcore/sync.h ++++ b/srtcore/sync.h +@@ -15,6 +15,7 @@ + //#define ENABLE_CXX17 + + #include ++#include + #ifdef ENABLE_STDCXX_SYNC + #include + #include diff --git a/net-libs/srt/srt-1.4.2.ebuild b/net-libs/srt/srt-1.4.2.ebuild index cbade3405e2..de77f27cd91 100644 --- a/net-libs/srt/srt-1.4.2.ebuild +++ b/net-libs/srt/srt-1.4.2.ebuild @@ -34,6 +34,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${PN}-always-GNUInstallDirs.patch" + "${FILESDIR}/${P}-cxx-include-gcc11.patch" ) src_prepare() {