diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-04-28 20:53:13 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-04-28 20:54:28 +0200 |
commit | 5fdb9c306fcb46c5eb2cad186268575100a84760 (patch) | |
tree | bae7fa1fec6bc1bbb34056f814611d7fa26751bf /dev-db/percona-xtrabackup | |
parent | sci-misc/flashdot: fix new ocaml - but still does not build (diff) | |
download | gentoo-5fdb9c306fcb46c5eb2cad186268575100a84760.tar.gz gentoo-5fdb9c306fcb46c5eb2cad186268575100a84760.tar.bz2 gentoo-5fdb9c306fcb46c5eb2cad186268575100a84760.zip |
dev-db/percona-xtrabackup: fix building with GCC 11
Closes: https://bugs.gentoo.org/786489
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/percona-xtrabackup')
-rw-r--r-- | dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.23-gcc11.patch | 41 | ||||
-rw-r--r-- | dev-db/percona-xtrabackup/percona-xtrabackup-8.0.23.16.ebuild | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.23-gcc11.patch b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.23-gcc11.patch new file mode 100644 index 000000000000..83aa6ab78a59 --- /dev/null +++ b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.23-gcc11.patch @@ -0,0 +1,41 @@ +--- a/extra/robin-hood-hashing/robin_hood.h ++++ b/extra/robin-hood-hashing/robin_hood.h +@@ -42,6 +42,7 @@ + #include <algorithm> + #include <cstdlib> + #include <cstring> ++#include <limits> + #include <functional> + #include <memory> // only to support hash of smart pointers + #include <stdexcept> +--- a/include/my_alloc.h ++++ b/include/my_alloc.h +@@ -32,6 +32,7 @@ + + #include <string.h> + ++#include <cstdint> + #include <memory> + #include <new> + #include <type_traits> +--- a/include/mysql/components/services/page_track_service.h ++++ b/include/mysql/components/services/page_track_service.h +@@ -27,6 +27,7 @@ + #include <mysql/components/service.h> + #include <functional> + ++#include <stddef.h> + #include <stdint.h> + + #ifdef __cplusplus +--- a/sql-common/sql_string.cc ++++ b/sql-common/sql_string.cc +@@ -23,6 +23,7 @@ + #include "sql_string.h" + + #include <algorithm> ++#include <limits> + + #include "my_dbug.h" + #include "my_macros.h" + diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.23.16.ebuild b/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.23.16.ebuild index cb198ddf576a..7e7eab27d0e9 100644 --- a/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.23.16.ebuild +++ b/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.23.16.ebuild @@ -50,6 +50,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-8.0.22-remove-rpm.patch "${FILESDIR}"/${PN}-8.0.22-fix-building-against-ICU-68.patch + "${FILESDIR}"/${PN}-8.0.23-gcc11.patch ) S="${WORKDIR}/percona-xtrabackup-${MY_PV}" |