diff options
-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}" |