<pre style='margin:0'>
Vadym-Valdis Yudaiev (judaew) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/edfe41e85b94a8636bdfd084f6dd62740295479e">https://github.com/macports/macports-ports/commit/edfe41e85b94a8636bdfd084f6dd62740295479e</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 edfe41e85b9 libck: fix build for PowerPC
</span>edfe41e85b9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit edfe41e85b94a8636bdfd084f6dd62740295479e
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sat May 18 04:21:04 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> libck: fix build for PowerPC
</span>---
devel/libck/Portfile | 3 +++
devel/libck/files/patch-fix-powerpc.diff | 35 ++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libck/Portfile b/devel/libck/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d5a3181714c..f3a3c2a77ad 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libck/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libck/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,3 +25,6 @@ checksums rmd160 24cf7b3d7241338151b76d3d59145ef85cecf76f \
</span> size 257857
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix assembler syntax in PowerPC headers:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-fix-powerpc.diff
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libck/files/patch-fix-powerpc.diff b/devel/libck/files/patch-fix-powerpc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..47875e23261
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libck/files/patch-fix-powerpc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,35 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- include/gcc/ppc/ck_pr.h 2024-03-25 05:26:48.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ include/gcc/ppc/ck_pr.h 2024-05-18 04:17:00.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -54,9 +54,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CK_CC_INLINE static void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ck_pr_stall(void)
</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;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ __asm__ __volatile__("or r1, r1, r1;"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "or r2, r2, r2;" ::: "memory");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __asm__ __volatile__("or 1, 1, 1;"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "or 2, 2, 2;" ::: "memory");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return;
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- include/gcc/ppc64/ck_pr.h 2024-03-25 05:26:48.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ include/gcc/ppc64/ck_pr.h 2024-05-18 04:15:29.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -53,9 +53,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CK_CC_INLINE static void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ck_pr_stall(void)
</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;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ __asm__ __volatile__("or r1, r1, r1;"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "or r2, r2, r2;" ::: "memory");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __asm__ __volatile__("or 1, 1, 1;"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "or 2, 2, 2;" ::: "memory");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>