<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ebd14a22dfd16c97f3655718c9619449bed3ba8c">https://github.com/macports/macports-ports/commit/ebd14a22dfd16c97f3655718c9619449bed3ba8c</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 ebd14a22dfd MoarVM: fix build on macOS 10.7-10.9 and 10.12
</span>ebd14a22dfd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ebd14a22dfd16c97f3655718c9619449bed3ba8c
</span>Author: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
AuthorDate: Sun Jun 22 13:34:34 2025 +0300
<span style='display:block; white-space:pre;color:#404040;'> MoarVM: fix build on macOS 10.7-10.9 and 10.12
</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/72596
</span>---
lang/MoarVM/Portfile | 4 ++--
lang/MoarVM/files/patch-libuv-legacy.diff | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/MoarVM/Portfile b/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d6a14e0a7fc..924741dfea9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,8 +6,8 @@ PortGroup compiler_blacklist_versions 1.0
</span> PortGroup github 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# strnlen, arc4random_buf, clock_gettime
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-legacysupport.newest_darwin_requires_legacy 15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# strnlen, arc4random_buf, clock_gettime, utimensat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 16
</span>
github.setup MoarVM MoarVM 2025.05
github.tarball_from releases
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/MoarVM/files/patch-libuv-legacy.diff b/lang/MoarVM/files/patch-libuv-legacy.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index f3aab362765..ddda84ddb85 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/MoarVM/files/patch-libuv-legacy.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/MoarVM/files/patch-libuv-legacy.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -149,7 +149,7 @@ Fix breakage from https://github.com/libuv/libuv/commit/1c778bd001543371c915a79b
</span>
static int uv__udp_recvmmsg(uv_udp_t* handle, uv_buf_t* buf) {
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1070))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000))
</span> struct sockaddr_in6 peers[20];
struct iovec iov[ARRAY_SIZE(peers)];
struct mmsghdr msgs[ARRAY_SIZE(peers)];
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -158,10 +158,10 @@ Fix breakage from https://github.com/libuv/libuv/commit/1c778bd001543371c915a79b
</span> }
return nread;
-#else /* __linux__ || ____FreeBSD__ || __APPLE__ */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else /* __linux__ || __FreeBSD__ || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else /* __linux__ || __FreeBSD__ || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) */
</span> return UV_ENOSYS;
-#endif /* __linux__ || ____FreeBSD__ || __APPLE__ */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif /* __linux__ || __FreeBSD__ || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif /* __linux__ || __FreeBSD__ || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) */
</span> }
static void uv__udp_recvmsg(uv_udp_t* handle) {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -179,7 +179,7 @@ Fix breakage from https://github.com/libuv/libuv/commit/1c778bd001543371c915a79b
</span> nsent = 0;
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1070))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000))
</span> if (count > 1) {
for (i = 0; i < count; /*empty*/) {
struct mmsghdr m[20];
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -188,7 +188,7 @@ Fix breakage from https://github.com/libuv/libuv/commit/1c778bd001543371c915a79b
</span> goto exit;
}
-#endif /* defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif /* defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif /* defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) */
</span>
for (i = 0; i < count; i++, nsent++)
if ((r = uv__udp_sendmsg1(fd, bufs[i], nbufs[i], addrs[i])))
</pre><pre style='margin:0'>
</pre>