<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3fcdacc5f4349da792d8e7e47e0e97f804eb7f8d">https://github.com/macports/macports-ports/commit/3fcdacc5f4349da792d8e7e47e0e97f804eb7f8d</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 3fcdacc5f43 xinit: do not test for dispatch on powerpc
</span>3fcdacc5f43 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 3fcdacc5f4349da792d8e7e47e0e97f804eb7f8d
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue Aug 15 04:40:55 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    xinit: do not test for dispatch on powerpc
</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/67921
</span>---
 x11/xinit/Portfile                            |  4 ++++
 x11/xinit/files/patch-no-libdispatch-ppc.diff | 18 ++++++++++++++++++
 2 files changed, 22 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xinit/Portfile b/x11/xinit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index add9c1d4db2..990c6c0525c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/xinit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xinit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +38,10 @@ if {[vercmp ${os.version} 10.3.0] < 0} {
</span>     patchfiles-append disable-launchagent.patch
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# libdispatch is unsupported on powerpc, despite possibly present headers (ex. Rosetta).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Run the test on non-powerpc systems only.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-no-libdispatch-ppc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patch.pre_args -p1
 
 use_autoreconf  yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xinit/files/patch-no-libdispatch-ppc.diff b/x11/xinit/files/patch-no-libdispatch-ppc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ffd5b1ee088
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xinit/files/patch-no-libdispatch-ppc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/configure.ac 2019-03-04 03:58:11.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/configure.ac 2023-08-15 04:33:00.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -125,9 +125,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                   TIGER_LAUNCHD=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  case $host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++          powerpc*-*-darwin*)
</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;'>+         AC_CHECK_FUNC(dispatch_async,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                               AC_DEFINE([HAVE_LIBDISPATCH], 1, [Define to 1 if you have the libdispatch (GCD) available]),
</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;'>++    esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_DEFINE_UNQUOTED(BUNDLE_ID_PREFIX, "$bundleidprefix", [Prefix to use for launchd identifiers])
</span></pre><pre style='margin:0'>

</pre>