<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c910209763bb0e69641c48e0cc6798d4876579f5">https://github.com/macports/macports-ports/commit/c910209763bb0e69641c48e0cc6798d4876579f5</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 c910209763b olaf-devel: fix for older systems and powerpc (#23913)
</span>c910209763b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c910209763bb0e69641c48e0cc6798d4876579f5
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sun May 12 17:04:35 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> olaf-devel: fix for older systems and powerpc (#23913)
</span>---
audio/olaf-devel/Portfile | 7 ++++++-
audio/olaf-devel/files/patch-altivec.diff | 11 +++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/olaf-devel/Portfile b/audio/olaf-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9c06de51fdd..0296c8bb27b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/olaf-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/olaf-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,6 @@ name olaf-devel
</span> version 20230929
revision 0
categories audio
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license AGPL-3
maintainers {l2dy @l2dy} openmaintainer
description Overly Lightweight Acoustic Fingerprinting
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,6 +19,12 @@ checksums rmd160 dc0dbfa5d0a113f43094892571016bd5bbc0962f \
</span>
depends_run port:rb32-threach
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/JorenSix/Olaf/issues/50
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-altivec.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# cc1: error: unrecognized command line option "-std=gnu11"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.c_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_configure no
build.target compile
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/olaf-devel/files/patch-altivec.diff b/audio/olaf-devel/files/patch-altivec.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..57a099d5d07
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/olaf-devel/files/patch-altivec.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/pffft.c 2023-09-29 22:52:51.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/pffft.c 2024-05-12 10:31:03.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -96,7 +96,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Altivec support macros
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if !defined(PFFFT_SIMD_DISABLE) && (defined(__ppc__) || defined(__ppc64__))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(PFFFT_SIMD_DISABLE) && (defined(__ppc__) || defined(__ppc64__)) && !defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef vector float v4sf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define SIMD_SZ 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define VZERO() ((vector float) vec_splat_u8(0))
</span></pre><pre style='margin:0'>
</pre>