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 C3C4E138359 for ; Sat, 9 May 2020 09:36:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED6D4E077F; Sat, 9 May 2020 09:36:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 CEE9AE077F for ; Sat, 9 May 2020 09:36:44 +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 0051D34F2CD for ; Sat, 9 May 2020 09:36:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 568EC9C for ; Sat, 9 May 2020 09:36:40 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1589016993.7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zimg/files/, media-libs/zimg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/zimg/files/zimg-2.9.2-gcc-10.patch media-libs/zimg/zimg-2.9.2.ebuild X-VCS-Directories: media-libs/zimg/ media-libs/zimg/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b X-VCS-Branch: master Date: Sat, 9 May 2020 09:36:40 +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: 724f62c4-703c-4a93-abe1-30bec4cff83a X-Archives-Hash: 2b21893184f897d3f39f0d7bdd152393 commit: 7a49f4df7f6bc0e0ab953c10ec1cd4a25558cb4b Author: Sergei Trofimovich gentoo org> AuthorDate: Sat May 9 09:36:19 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat May 9 09:36:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a49f4df media-libs/zimg: tweak for gcc-10, bug #721676 The build fails as: ``` src/zimg/colorspace/matrix3.cpp:20:7: error: 'size_t' was not declared in this scope; did you mean 'std::size_t'? 20 | for (size_t i = 0; i < 3; ++i) { | ^~~~~~ | std::size_t ``` Direct backport of upstream 9ae36d7d5f74 ("Update matrix3.cpp") which adds missing include needed for 'size_t'. Reported-by: Patrick McLean Closes: https://bugs.gentoo.org/721676 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> media-libs/zimg/files/zimg-2.9.2-gcc-10.patch | 18 ++++++++++++++++++ media-libs/zimg/zimg-2.9.2.ebuild | 2 ++ 2 files changed, 20 insertions(+) diff --git a/media-libs/zimg/files/zimg-2.9.2-gcc-10.patch b/media-libs/zimg/files/zimg-2.9.2-gcc-10.patch new file mode 100644 index 00000000000..ea192f77fca --- /dev/null +++ b/media-libs/zimg/files/zimg-2.9.2-gcc-10.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/721676 + +From 9ae36d7d5f7420eaacd9644451933512fa13d716 Mon Sep 17 00:00:00 2001 +From: sekrit-twc +Date: Wed, 4 Dec 2019 12:01:26 -0800 +Subject: [PATCH] Update matrix3.cpp + +--- + src/zimg/colorspace/matrix3.cpp | 1 + + 1 file changed, 1 insertion(+) + +--- a/src/zimg/colorspace/matrix3.cpp ++++ b/src/zimg/colorspace/matrix3.cpp +@@ -1,3 +1,4 @@ ++#include + #include "matrix3.h" + + namespace zimg { diff --git a/media-libs/zimg/zimg-2.9.2.ebuild b/media-libs/zimg/zimg-2.9.2.ebuild index c1295123848..e962d7a4b5f 100644 --- a/media-libs/zimg/zimg-2.9.2.ebuild +++ b/media-libs/zimg/zimg-2.9.2.ebuild @@ -20,6 +20,8 @@ LICENSE="WTFPL-2" SLOT="0" IUSE="cpu_flags_x86_sse debug static-libs" +PATCHES=("${FILESDIR}"/${PN}-2.9.2-gcc-10.patch) + src_prepare() { default eautoreconf