From eeca3ee8974115da795637014aab52981ce4788c Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 10 Jun 2022 03:24:30 +0100 Subject: dev-db/percona-xtrabackup: fix build with GCC 12 Closes: https://bugs.gentoo.org/840335 Signed-off-by: Sam James --- .../files/percona-xtrabackup-8.0.26.18-gcc-12.patch | 21 +++++++++++++++++++++ .../percona-xtrabackup-8.0.26.18.ebuild | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.26.18-gcc-12.patch (limited to 'dev-db/percona-xtrabackup') 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 + #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/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}" -- cgit v1.2.3-65-gdbad