git: cb39affa37e0 - main - databases/mysql-shell: Fix build of the bundled MySQL 9.7.1 sources

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Thu, 03 Sep 2026 08:49:46 UTC
The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cb39affa37e0afee9fd3c89a72c74975ea50a01f

commit cb39affa37e0afee9fd3c89a72c74975ea50a01f
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-09-03 08:49:01 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-09-03 08:49:35 +0000

    databases/mysql-shell: Fix build of the bundled MySQL 9.7.1 sources
    
    Add two includes that no longer come in transitively: <type_traits>
    in libs/mysql/gtid/tag_plain.h and <cstdlib> in router/src/harness/
    src/stdx/filesystem.cc.
    
    Reported by:    pkg-fallout
    Sponsored by:   Netzkommune GmbH
---
 databases/mysql-shell/files/mysql-server.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/databases/mysql-shell/files/mysql-server.patch b/databases/mysql-shell/files/mysql-server.patch
index b64a1de75684..ea340e8b9168 100644
--- a/databases/mysql-shell/files/mysql-server.patch
+++ b/databases/mysql-shell/files/mysql-server.patch
@@ -41,3 +41,23 @@
  #include <string>
  #include "resource_manager_procfs.h"
 
+--- libs/mysql/gtid/tag_plain.h.orig	2026-09-02 10:00:00.000000000 +0200
++++ libs/mysql/gtid/tag_plain.h	2026-09-02 10:00:00.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include <array>
+ #include <cstring>
+ #include <memory>
+ #include <string>
++#include <type_traits>
+ 
+ #include "mysql/gtid/gtid_constants.h"  // tag_max_length
+--- router/src/harness/src/stdx/filesystem.cc.orig	2026-06-03 12:21:17 UTC
++++ router/src/harness/src/stdx/filesystem.cc
+@@ -35,6 +35,7 @@
+ 
+ #include <array>
+ #include <climits>
++#include <cstdlib>
+ #include <system_error>
+ 
+ #include "mysql/harness/stdx/expected.h"