public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-xtrabackup/, dev-db/percona-xtrabackup/files/
Date: Wed, 28 Apr 2021 18:54:32 +0000 (UTC)	[thread overview]
Message-ID: <1619636068.5fdb9c306fcb46c5eb2cad186268575100a84760.whissi@gentoo> (raw)

commit:     5fdb9c306fcb46c5eb2cad186268575100a84760
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 28 18:53:13 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 18:54:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fdb9c30

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 <AT> gentoo.org>

 .../files/percona-xtrabackup-8.0.23-gcc11.patch    | 41 ++++++++++++++++++++++
 .../percona-xtrabackup-8.0.23.16.ebuild            |  1 +
 2 files changed, 42 insertions(+)

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 00000000000..83aa6ab78a5
--- /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 cb198ddf576..7e7eab27d0e 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}"


             reply	other threads:[~2021-04-28 18:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 18:54 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-18  8:25 [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-xtrabackup/, dev-db/percona-xtrabackup/files/ Sam James
2021-09-29 16:55 Thomas Deutschmann
2020-06-26 23:00 Thomas Deutschmann
2020-06-26 23:00 Thomas Deutschmann
2018-04-17 13:20 Thomas Deutschmann
2017-04-03 21:15 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619636068.5fdb9c306fcb46c5eb2cad186268575100a84760.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox