summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-10 03:24:30 +0100
committerSam James <sam@gentoo.org>2022-06-10 03:27:00 +0100
commiteeca3ee8974115da795637014aab52981ce4788c (patch)
treedc814073626540bb696ff5f24ed18a8068fa7375 /dev-db
parentdev-db/percona-server: fix build with GCC 12 (diff)
downloadgentoo-eeca3ee8974115da795637014aab52981ce4788c.tar.gz
gentoo-eeca3ee8974115da795637014aab52981ce4788c.tar.bz2
gentoo-eeca3ee8974115da795637014aab52981ce4788c.zip
dev-db/percona-xtrabackup: fix build with GCC 12
Closes: https://bugs.gentoo.org/840335 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.26.18-gcc-12.patch21
-rw-r--r--dev-db/percona-xtrabackup/percona-xtrabackup-8.0.26.18.ebuild3
2 files changed, 23 insertions, 1 deletions
diff --git a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.26.18-gcc-12.patch b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.26.18-gcc-12.patch
new file mode 100644
index 000000000000..f9d1f79c97ea
--- /dev/null
+++ b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.26.18-gcc-12.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/840335
+--- 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-xtrabackup/percona-xtrabackup-8.0.26.18.ebuild b/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.26.18.ebuild
index 896af1ba69aa..5a9f56ff952c 100644
--- a/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.26.18.ebuild
+++ b/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.26.18.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -49,6 +49,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-8.0.26-remove-rpm.patch
+ "${FILESDIR}"/${PN}-8.0.26.18-gcc-12.patch
)
S="${WORKDIR}/percona-xtrabackup-${MY_PV}"