<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8cab3bb00948e67ff13b59114baaab4423f6b833">https://github.com/macports/macports-ports/commit/8cab3bb00948e67ff13b59114baaab4423f6b833</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 8cab3bb0094 mysql8: rev bump to 8.4.2 and fix compiler issue on Ventura
</span>8cab3bb0094 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 8cab3bb00948e67ff13b59114baaab4423f6b833
</span>Author: jhoyt4 <john.hoyt@gmail.com>
AuthorDate: Sun Aug 11 18:57:16 2024 -0400

<span style='display:block; white-space:pre;color:#404040;'>    mysql8: rev bump to 8.4.2 and fix compiler issue on Ventura
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>     - revbump to 8.4.2
</span><span style='display:block; white-space:pre;color:#404040;'>     - fix compile issue on Ventura by moving to the macports
</span><span style='display:block; white-space:pre;color:#404040;'>       clang vs. Xcode clang.  Note clang-16 was the only successful
</span><span style='display:block; white-space:pre;color:#404040;'>       version employed during testing.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/70323
</span>---
 databases/mysql8/Portfile | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

<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 6612cec48d7..4b4027297cc 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;'>@@ -3,7 +3,7 @@
</span> PortSystem              1.0
 
 name                    mysql8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version                 8.4.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                 8.4.2
</span> 
 categories              databases
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ maintainers             {gmail.com:herby.gillot @herbygillot} \
</span>                         openmaintainer
 
 # Set revision_client and revision_server to 0 on version bump.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set revision_client     1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set revision_client     0
</span> set revision_server     0
 
 set name_mysql          ${name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,9 +52,9 @@ if {$subport eq $name} {
</span>     distfiles           ${distname}${extract.suffix}:mysql
 
     checksums           ${distname}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        rmd160  4946691acd00bd94c546afc63d2c40f203f53f52 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        sha256  db41f197d7170c54d7edc0d0c9a2730c225f4af05eced0f64becf9bb6c11013e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        size    425782437
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        rmd160  151071c2dfa398ee5ef16cd60ee477eb8fc8d012 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  5657a78dc86bf0bf2227e0b05f8de5a2c447a816a112ffa26fa70083bcbe9814 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    425791134
</span> 
     depends_build-append \
                         port:pkgconfig  \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,6 +78,15 @@ if {$subport eq $name} {
</span> 
     use_parallel_build  yes
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # llvm on Ventura (macOS 13) has issues throwing the folllwing error:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Undefined symbols "std::exception_ptr::__from_native_exception_pointer(void*)", "___cxa_init_primary_exception"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Use macports llvm until this is fixed upstream
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # See https://trac.macports.org/ticket/70323
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # macports-clang-16 was the only clang that successfully built mysql on Ventura (17 and 18 hung)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} == 22} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.compiler macports-clang-16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     compiler.cxx_standard 2020
 
     # /usr/include/c++/v1/optional:960:34: note: candidate function not viable: no known conversion from 'optional<...>' to 'const optional<...>' for object argument
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -147,7 +156,7 @@ if {$subport eq $name} {
</span>     # suggest setting -DCMAKE_PREFIX_PATH to aide cmake in finding the preferred version of openssl
     configure.args-append \
         -DCMAKE_PREFIX_PATH=[openssl::install_area] \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        -DWITH_SSL=system       \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        -DWITH_SSL=system
</span> 
     configure.args-append \
         -DWITH_ROUTER:BOOL=OFF
</pre><pre style='margin:0'>

</pre>