From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql/, dev-db/mysql/files/
Date: Wed, 12 Apr 2023 13:37:27 +0000 (UTC) [thread overview]
Message-ID: <1681306586.6e342407489fd0bf17768951c1391b81cde22465.sam@gentoo> (raw)
commit: 6e342407489fd0bf17768951c1391b81cde22465
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 12 13:36:26 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 13:36:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e342407
dev-db/mysql: fix build w/ gcc 13
Thanks-to: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/mysql/files/mysql-8.0.32-gcc13.patch | 21 +++++++++++++++++++++
dev-db/mysql/mysql-8.0.32-r2.ebuild | 1 +
2 files changed, 22 insertions(+)
diff --git a/dev-db/mysql/files/mysql-8.0.32-gcc13.patch b/dev-db/mysql/files/mysql-8.0.32-gcc13.patch
new file mode 100644
index 000000000000..e7ec0603bbea
--- /dev/null
+++ b/dev-db/mysql/files/mysql-8.0.32-gcc13.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/895818
+https://github.com/mysql/mysql-server/pull/456
+
+From 2e5614c4ec50c60fbadbd57f213c1c7d6b959be9 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate <parona@protonmail.com>
+Date: Wed, 12 Apr 2023 16:16:13 +0300
+Subject: [PATCH] sql/binlog/group_commit: include header for std::uint64_t
+
+GCC 13 changed default header dependencies for C++ necessitating
+including cstdint explicitly.
+--- a/sql/binlog/group_commit/bgc_ticket.h
++++ b/sql/binlog/group_commit/bgc_ticket.h
+@@ -23,6 +23,7 @@
+ #ifndef BINLOG_BCG_TICKET_H
+ #define BINLOG_BCG_TICKET_H
+
++#include <cstdint>
+ #include <functional>
+ #include <limits>
+ #include <memory>
+
diff --git a/dev-db/mysql/mysql-8.0.32-r2.ebuild b/dev-db/mysql/mysql-8.0.32-r2.ebuild
index db22ee953b44..1a476651a056 100644
--- a/dev-db/mysql/mysql-8.0.32-r2.ebuild
+++ b/dev-db/mysql/mysql-8.0.32-r2.ebuild
@@ -88,6 +88,7 @@ PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
PATCHES=(
"${WORKDIR}"/mysql-patches
+ "${FILESDIR}"/${PN}-8.0.32-gcc13.patch
)
mysql_init_vars() {
next reply other threads:[~2023-04-12 13:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 13:37 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-10 4:37 [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql/, dev-db/mysql/files/ Sam James
2025-01-09 10:34 Sam James
2025-01-09 3:07 Sam James
2022-11-01 23:21 Sam James
2022-06-10 2:45 Sam James
2019-08-13 1:52 Thomas Deutschmann
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=1681306586.6e342407489fd0bf17768951c1391b81cde22465.sam@gentoo \
--to=sam@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