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 5AF2F13835B for ; Sun, 24 Jan 2021 13:03:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96BB7E0A04; Sun, 24 Jan 2021 13:03:47 +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 80CD9E0A04 for ; Sun, 24 Jan 2021 13:03:47 +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 BC1D23411C3 for ; Sun, 24 Jan 2021 13:03:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DDBC4A6 for ; Sun, 24 Jan 2021 13:03:45 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1611493395.a2d112f5512cc3cb26f25a12085cc4be6ccc13f1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/qca/files/, app-crypt/qca/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/qca/files/qca-2.3.1-gcc11.patch app-crypt/qca/qca-2.3.1.ebuild X-VCS-Directories: app-crypt/qca/files/ app-crypt/qca/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a2d112f5512cc3cb26f25a12085cc4be6ccc13f1 X-VCS-Branch: master Date: Sun, 24 Jan 2021 13:03:45 +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: 759f82b9-fa71-45f3-8044-11ec0ea2fb21 X-Archives-Hash: 65468838e8a966cc3a54415fae379533 commit: a2d112f5512cc3cb26f25a12085cc4be6ccc13f1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jan 11 00:28:36 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 24 13:03:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d112f5 app-crypt/qca: Fix build with GCC-11 Closes: https://bugs.gentoo.org/764047 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> app-crypt/qca/files/qca-2.3.1-gcc11.patch | 30 ++++++++++++++++++++++++++++++ app-crypt/qca/qca-2.3.1.ebuild | 7 +++++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/app-crypt/qca/files/qca-2.3.1-gcc11.patch b/app-crypt/qca/files/qca-2.3.1-gcc11.patch new file mode 100644 index 00000000000..cd4eaab8688 --- /dev/null +++ b/app-crypt/qca/files/qca-2.3.1-gcc11.patch @@ -0,0 +1,30 @@ +From f015cc64889035c084138864e2e030ece19c257b Mon Sep 17 00:00:00 2001 +From: Jeff Law +Date: Dec 04 2020 03:55:48 +0000 +Subject: Fix missing includes for gcc-11 + + +diff --git a/src/qca_cert.cpp b/src/qca_cert.cpp +index 5e73d98..225aecd 100644 +--- a/src/qca_cert.cpp ++++ b/src/qca_cert.cpp +@@ -19,6 +19,7 @@ + * + */ + ++#include + #include "qca_cert.h" + + #include "qca_publickey.h" +diff --git a/src/qca_default.cpp b/src/qca_default.cpp +index fd35702..db87e87 100644 +--- a/src/qca_default.cpp ++++ b/src/qca_default.cpp +@@ -19,6 +19,7 @@ + * + */ + ++#include + #include "qca_core.h" + + #include diff --git a/app-crypt/qca/qca-2.3.1.ebuild b/app-crypt/qca/qca-2.3.1.ebuild index b954f235e01..4414a43132b 100644 --- a/app-crypt/qca/qca-2.3.1.ebuild +++ b/app-crypt/qca/qca-2.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -39,7 +39,10 @@ DEPEND="${RDEPEND} ) " -PATCHES=( "${FILESDIR}/${PN}-disable-pgp-test.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-disable-pgp-test.patch" + "${FILESDIR}/${P}-gcc11.patch" # bug 764047 +) qca_plugin_use() { echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1")