<pre style='margin:0'>
Vadym-Valdis Yudaiev (judaew) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7b899327d7d131d4dd350332652f89b26824e654">https://github.com/macports/macports-ports/commit/7b899327d7d131d4dd350332652f89b26824e654</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 7b899327d7d glslang: fix build on 10.9 Mavericks and older
</span>7b899327d7d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 7b899327d7d131d4dd350332652f89b26824e654
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Mon Jun 19 17:46:53 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    glslang: fix build on 10.9 Mavericks and older
</span>---
 graphics/glslang/Portfile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/glslang/Portfile b/graphics/glslang/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c3a46041602..e1db7c850ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/glslang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/glslang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,4 +34,16 @@ depends_build-append    port:python${py_ver_nodot}
</span> configure.python        ${prefix}/bin/python${py_ver}
 configure.args-append   -DPYTHON_EXECUTABLE:FILEPATH=${configure.python}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# This patch has been submitted upstream:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/KhronosGroup/glslang/pull/3243
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This patch applies to glslang version 12.2.0. When the patch gets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# integrated into the upstream code for a future release, then this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# patch should get removed when updating this port.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace {/CMAKE_CXX_COMPILER_ID.*AppleClang/,/--no-undefined/s/else()/elseif(NOT APPLE)/} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append   -DENABLE_GLSLANG_INSTALL=ON
</pre><pre style='margin:0'>

</pre>