<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5a1fbec36fba3b9c35eb265f5eed08bed0ed433f">https://github.com/macports/macports-ports/commit/5a1fbec36fba3b9c35eb265f5eed08bed0ed433f</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 5a1fbec36fb rsync: fix build on Rosetta Fixes: https://trac.macports.org/ticket/65034
</span>5a1fbec36fb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5a1fbec36fba3b9c35eb265f5eed08bed0ed433f
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu Aug 4 21:57:49 2022 +0545
<span style='display:block; white-space:pre;color:#404040;'> rsync: fix build on Rosetta
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/65034
</span>---
net/rsync/Portfile | 10 ++++++++++
1 file changed, 10 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/rsync/Portfile b/net/rsync/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index abd6f564197..1e4d863fded 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/rsync/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/rsync/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +58,16 @@ pre-configure {
</span> system -W ${worksrcpath} "./prepare-source"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Temporary fix for build on Rosetta, from upstream.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Perhaps can be removed with update to 3.2.5.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/WayneD/rsync/issues/338
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Also: https://trac.macports.org/ticket/65034
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|#define GETGROUPS_T int|#define GETGROUPS_T gid_t|" ${worksrcpath}/config.h
</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> test.run yes
test.target check
</pre><pre style='margin:0'>
</pre>