public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-server/files/, dev-db/percona-server/
Date: Fri, 10 Jun 2022 02:45:18 +0000 (UTC)	[thread overview]
Message-ID: <1654828020.5303bc7433a91b9d383dc76a5cd552e2ce99710c.sam@gentoo> (raw)

commit:     5303bc7433a91b9d383dc76a5cd552e2ce99710c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 10 02:02:31 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 02:27:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5303bc74

dev-db/percona-server: fix build with GCC 12

Closes: https://bugs.gentoo.org/842168
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/percona-server-8.0.26.16-gcc-12.patch     | 21 +++++++++++++++++++++
 .../percona-server-8.0.26.16-r1.ebuild              |  1 +
 2 files changed, 22 insertions(+)

diff --git a/dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch b/dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch
new file mode 100644
index 000000000000..f80b02ff2eb2
--- /dev/null
+++ b/dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/842168
+--- a/client/logger.cc
++++ b/client/logger.cc
+@@ -27,6 +27,7 @@
+ #include <time.h>
+ #include <iostream>
+ #include <locale>
++#include <memory>
+ 
+ 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 <cstring>
+ #include <iostream>
+ #include <locale>
++#include <memory>
+ #include <sstream>
+ 
+ #include <m_string.h>

diff --git a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
index 6774c64be097..d4c8ed5cdd27 100644
--- a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
+++ b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
@@ -176,6 +176,7 @@ src_unpack() {
 
 src_prepare() {
 	eapply "${WORKDIR}"/mysql-patches
+	eapply "${FILESDIR}"/${PN}-8.0.26.16-gcc-12.patch
 
 	# Avoid rpm call which would trigger sandbox, #692368
 	sed -i \


             reply	other threads:[~2022-06-10  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  2:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-20 22:54 [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-server/files/, dev-db/percona-server/ Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1654828020.5303bc7433a91b9d383dc76a5cd552e2ce99710c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox