<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/b0365d8da6d71e4e0f73d1f0c6862ae2b9036dff">https://github.com/macports/macports-ports/commit/b0365d8da6d71e4e0f73d1f0c6862ae2b9036dff</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b0365d8da6d71e4e0f73d1f0c6862ae2b9036dff
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sun Apr 9 14:54:54 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> prosody: fix the build on darwin <16
</span>---
net/prosody/Portfile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/prosody/Portfile b/net/prosody/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 05bb9b6888f..4a37e996434 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/prosody/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/prosody/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,13 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup legacysupport 1.1
</span> PortGroup lua 1.0
PortGroup openssl 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# clock_gettime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> name prosody
version 0.12.3
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,7 +51,8 @@ post-patch {
</span> ${worksrcpath}/prosodyctl
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -fPIC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# It needs C99, otherwise build fails with old Apple complilers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append -std=c99 -fPIC
</span> configure.ldflags-append -bundle -undefined dynamic_lookup
# using `--ostype=macosx` appends `-mmacosx-version-min=10.3` to CFLAGS
</pre><pre style='margin:0'>
</pre>