<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0c879ef0734c6e3267d67ea8eaa5fc174350c416">https://github.com/macports/macports-ports/commit/0c879ef0734c6e3267d67ea8eaa5fc174350c416</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 0c879ef0734 samba4: fix build on powerpc
</span>0c879ef0734 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0c879ef0734c6e3267d67ea8eaa5fc174350c416
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue Jun 20 08:33:49 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> samba4: fix build on powerpc
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/65622
</span>---
net/samba4/Portfile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/samba4/Portfile b/net/samba4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 02953245dbf..c5ca1b6f8fe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/samba4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/samba4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span> PortGroup perl5 1.0
# O_CLOEXEC, AT_FDCWD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,7 +76,9 @@ configure.perl ${perl5.bin}
</span> configure.python ${prefix}/bin/python3.10
configure.env-append \
YAPP=${prefix}/bin/yapp-${perl5.major}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd ${configure.python} ./buildtools/bin/waf configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# configure script provided by samba forwards to waf, but also sets environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# bypassing it breaks build on ppc: https://trac.macports.org/ticket/65622
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# configure.cmd ${configure.python} ./buildtools/bin/waf configure
</span> configure.args -C \
--enable-fhs \
--mandir=${prefix}/share/man \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -99,6 +102,9 @@ destroot.destdir
</span> options changelist
changelist
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: redefinition of typedef ‘SMB_STRUCT_STAT’
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append *gcc-4.* {clang < 400}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
platform darwin {
# install a file missed by the build system:
</pre><pre style='margin:0'>
</pre>