<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/35707d2f9532105ceac26781a113e6637ed612a4">https://github.com/macports/macports-ports/commit/35707d2f9532105ceac26781a113e6637ed612a4</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 35707d2f953 ld64-274: fix build with newer compilers
</span>35707d2f953 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 35707d2f9532105ceac26781a113e6637ed612a4
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Jan 6 18:21:39 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> ld64-274: fix build with newer compilers
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Newer versions of Clang are less forgiving of undefined macros.
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/65575
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since port either builds correctly or not at all.
</span>---
devel/ld64/Portfile | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/Portfile b/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5cef48c066a..8c2be0f2e1a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -199,6 +199,9 @@ subport ld64-274 {
</span> # Avoid `error: unknown type name 'uuid_string_t'`
legacysupport.newest_darwin_requires_legacy 9
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/65575
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -DTARGET_OS_WATCH=0 -DTARGET_OS_BRIDGE=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if { ${os.platform} eq "darwin" && ${os.major} <= 9 } {
depends_lib-append port:libblocksruntime
configure.cxxflags-append -fblocks
</pre><pre style='margin:0'>
</pre>