diff options
author | Sam James <sam@gentoo.org> | 2022-06-10 03:02:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-10 03:27:00 +0100 |
commit | 5303bc7433a91b9d383dc76a5cd552e2ce99710c (patch) | |
tree | 209cd0df385affbef3932c040ae12e4db84adf36 /dev-db | |
parent | dev-db/mysql: fix build with GCC 12 (diff) | |
download | gentoo-5303bc7433a91b9d383dc76a5cd552e2ce99710c.tar.gz gentoo-5303bc7433a91b9d383dc76a5cd552e2ce99710c.tar.bz2 gentoo-5303bc7433a91b9d383dc76a5cd552e2ce99710c.zip |
dev-db/percona-server: fix build with GCC 12
Closes: https://bugs.gentoo.org/842168
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch | 21 | ||||
-rw-r--r-- | dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild | 1 |
2 files changed, 22 insertions, 0 deletions
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 \ |