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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0159A158091 for ; Fri, 10 Jun 2022 02:45:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9463FE0831; Fri, 10 Jun 2022 02:45:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DC86E0837 for ; Fri, 10 Jun 2022 02:45:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 238C53410D0 for ; Fri, 10 Jun 2022 02:45:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FF247F for ; Fri, 10 Jun 2022 02:45:18 +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: <1654828020.722c73d9fba456c1ae7eefb46845a3149658fd59.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql/, dev-db/mysql/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mysql/files/mysql-8.0.27-gcc-12.patch dev-db/mysql/mysql-8.0.27.ebuild X-VCS-Directories: dev-db/mysql/ dev-db/mysql/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 722c73d9fba456c1ae7eefb46845a3149658fd59 X-VCS-Branch: master Date: Fri, 10 Jun 2022 02:45:18 +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: 99313052-0199-4c07-af20-dc17a33965aa X-Archives-Hash: 22a84c64b64e48dead970304b3c8d16a commit: 722c73d9fba456c1ae7eefb46845a3149658fd59 Author: Sam James gentoo org> AuthorDate: Fri Jun 10 01:45:50 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jun 10 02:27:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722c73d9 dev-db/mysql: fix build with GCC 12 Closes: https://bugs.gentoo.org/840990 Signed-off-by: Sam James gentoo.org> dev-db/mysql/files/mysql-8.0.27-gcc-12.patch | 21 +++++++++++++++++++++ dev-db/mysql/mysql-8.0.27.ebuild | 1 + 2 files changed, 22 insertions(+) diff --git a/dev-db/mysql/files/mysql-8.0.27-gcc-12.patch b/dev-db/mysql/files/mysql-8.0.27-gcc-12.patch new file mode 100644 index 000000000000..fce8d5040c84 --- /dev/null +++ b/dev-db/mysql/files/mysql-8.0.27-gcc-12.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/840990 +--- a/client/logger.cc ++++ b/client/logger.cc +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + using namespace std; + +--- a/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc ++++ b/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + + #include diff --git a/dev-db/mysql/mysql-8.0.27.ebuild b/dev-db/mysql/mysql-8.0.27.ebuild index d59053a50265..88957adeb167 100644 --- a/dev-db/mysql/mysql-8.0.27.ebuild +++ b/dev-db/mysql/mysql-8.0.27.ebuild @@ -170,6 +170,7 @@ src_unpack() { src_prepare() { eapply "${WORKDIR}"/mysql-patches + eapply "${FILESDIR}"/${PN}-8.0.27-gcc-12.patch # Avoid rpm call which would trigger sandbox, #692368 sed -i \