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 2E24F1382C5 for ; Tue, 9 Mar 2021 09:49:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80AEFE0907; Tue, 9 Mar 2021 09:49:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 67276E0907 for ; Tue, 9 Mar 2021 09:49:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 90CAF335C47 for ; Tue, 9 Mar 2021 09:49:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49262487 for ; Tue, 9 Mar 2021 09:49:10 +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: <1615283253.91a20cf6c54e8fbf6b2961f1b786f1fc64e12561.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libebml/, dev-libs/libebml/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libebml/files/libebml-1.4.2-header-fixes-for-gcc11.patch dev-libs/libebml/libebml-1.4.2.ebuild X-VCS-Directories: dev-libs/libebml/files/ dev-libs/libebml/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 91a20cf6c54e8fbf6b2961f1b786f1fc64e12561 X-VCS-Branch: master Date: Tue, 9 Mar 2021 09:49:10 +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: 89671e73-559e-4830-a443-c45fe30d7d5b X-Archives-Hash: 9e2fb516a11b6f73561d60242d4cd8ff commit: 91a20cf6c54e8fbf6b2961f1b786f1fc64e12561 Author: Christophe Lermytte technicolor com> AuthorDate: Mon Mar 1 12:31:50 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 9 09:47:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a20cf6 dev-libs/libebml: revbump for gcc-11 fix Patch source: https://github.com/Matroska-Org/libebml/commit/f0bfd53 (I dropped the ChangeLog part as that depends on other commits to apply nicely) Signed-off-by: Christophe Lermytte lermytte.be> Closes: https://bugs.gentoo.org/773538 Closes: https://github.com/gentoo/gentoo/pull/19720 Thanks: Ionen Wolkens gmail.com> Signed-off-by: Sam James gentoo.org> .../libebml-1.4.2-header-fixes-for-gcc11.patch | 35 ++++++++++++++++++++++ dev-libs/libebml/libebml-1.4.2.ebuild | 5 ++++ 2 files changed, 40 insertions(+) diff --git a/dev-libs/libebml/files/libebml-1.4.2-header-fixes-for-gcc11.patch b/dev-libs/libebml/files/libebml-1.4.2-header-fixes-for-gcc11.patch new file mode 100644 index 00000000000..96cb1f698ba --- /dev/null +++ b/dev-libs/libebml/files/libebml-1.4.2-header-fixes-for-gcc11.patch @@ -0,0 +1,35 @@ +From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 +From: Moritz Bunkus +Date: Sat, 27 Feb 2021 20:36:52 +0100 +Subject: [PATCH] include appropriate header files for std::numeric_limits + +Fixes #80. +--- + src/EbmlString.cpp | 1 + + src/EbmlUnicodeString.cpp | 1 + + 3 files changed, 6 insertions(+) + +diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp +index 27e55fd..4c05fcf 100644 +--- a/src/EbmlString.cpp ++++ b/src/EbmlString.cpp +@@ -34,6 +34,7 @@ + \author Steve Lhomme + */ + #include ++#include + + #include "ebml/EbmlString.h" + +diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp +index 496a16a..99fc073 100644 +--- a/src/EbmlUnicodeString.cpp ++++ b/src/EbmlUnicodeString.cpp +@@ -36,6 +36,7 @@ + */ + + #include ++#include + + #include "ebml/EbmlUnicodeString.h" + diff --git a/dev-libs/libebml/libebml-1.4.2.ebuild b/dev-libs/libebml/libebml-1.4.2.ebuild index be4140b7569..d70dba6ad08 100644 --- a/dev-libs/libebml/libebml-1.4.2.ebuild +++ b/dev-libs/libebml/libebml-1.4.2.ebuild @@ -13,6 +13,11 @@ LICENSE="LGPL-2.1" SLOT="0/5" # subslot = soname major version KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +src_prepare() { + eapply "${FILESDIR}/${P}-header-fixes-for-gcc11.patch" + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=YES