From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1389C15ACFB for ; Wed, 12 Apr 2023 13:37:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C96DE0848; Wed, 12 Apr 2023 13:37:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D380E0848 for ; Wed, 12 Apr 2023 13:37:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DAFE7340EC9 for ; Wed, 12 Apr 2023 13:37:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D32E909 for ; Wed, 12 Apr 2023 13:37:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1681306586.6e342407489fd0bf17768951c1391b81cde22465.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql/, dev-db/mysql/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mysql/files/mysql-8.0.32-gcc13.patch dev-db/mysql/mysql-8.0.32-r2.ebuild X-VCS-Directories: dev-db/mysql/ dev-db/mysql/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6e342407489fd0bf17768951c1391b81cde22465 X-VCS-Branch: master Date: Wed, 12 Apr 2023 13:37:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 71ca917c-02b0-4661-b747-7161c1ef0e34 X-Archives-Hash: 6be4195f00bc55b99407dfbf5e650874 commit: 6e342407489fd0bf17768951c1391b81cde22465 Author: Sam James gentoo org> AuthorDate: Wed Apr 12 13:36:26 2023 +0000 Commit: Sam James gentoo 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 protonmail.com> Signed-off-by: Sam James 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 +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 + #include + #include + #include + 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() {