<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/762befbad4859f7d343fe40481370900685315b8">https://github.com/macports/macports-ports/commit/762befbad4859f7d343fe40481370900685315b8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 762befbad48 mysql8: fix build on macOS 10.14
</span>762befbad48 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 762befbad4859f7d343fe40481370900685315b8
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Thu Nov 11 10:10:17 2021 -0600

<span style='display:block; white-space:pre;color:#404040;'>    mysql8: fix build on macOS 10.14
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/63875
</span>---
 databases/mysql8/Portfile                      |  1 +
 databases/mysql8/files/patch-rpcgen.cmake.diff | 27 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql8/Portfile b/databases/mysql8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ed8f462044..1f24fd29235 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/mysql8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -155,6 +155,7 @@ if {$subport eq $name} {
</span>                     patch-cmake-sasl-disable-platform-check.diff \
                     patch-mysql8-workaround-no-SC_PHYS_PAGES.diff \
                     patch-package_name.cmake.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-rpcgen.cmake.diff \
</span>                     patch-scripts-cmakelists.diff \
                     patch-sql-local-boost.diff \
                     patch-mysql8-ffsll-apple.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mysql8/files/patch-rpcgen.cmake.diff b/databases/mysql8/files/patch-rpcgen.cmake.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..894fdc81718
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mysql8/files/patch-rpcgen.cmake.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 211c196a86980ebb40096d5f8df55d9f973a920b Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Christopher Chavez <chrischavez@gmx.us>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 11 Nov 2021 09:45:16 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] More accurate check for xdr_sizeof() on macOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xdr_sizeof() availability depends on the version of macOS,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+not the compiler. xdr_sizeof() was provided by a system library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(libsystem_info.dylib) prior to 10.14.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake | 4 ++--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 2 insertions(+), 2 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake b/plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 62888af52e7e..b3ea14f6a52e 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,8 +43,8 @@ IF(WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IF(APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  # OSX missing xdr_sizeof() since clang 10.0.1.10010046
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  IF(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS "10.0.1.10010046")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  # OSX missing xdr_sizeof() since 10.14 Mojave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  IF(NOT CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS "10.14")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     SET(SUNRPC_SRCS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       ${XCOM_BASEDIR}/windeps/sunrpc/xdr_sizeof.c
</span></pre><pre style='margin:0'>

</pre>