git: 0877b50af2cb - main - audio/py-soxr: fix build on powerpc*

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 09 Mar 2023 09:49:28 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0877b50af2cb07135ae9a44d66cbf6e5b3a5b5ae

commit 0877b50af2cb07135ae9a44d66cbf6e5b3a5b5ae
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-03-09 09:48:58 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-03-09 09:48:58 +0000

    audio/py-soxr: fix build on powerpc*
---
 audio/py-soxr/files/patch-libsoxr_src_pffft.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/audio/py-soxr/files/patch-libsoxr_src_pffft.c b/audio/py-soxr/files/patch-libsoxr_src_pffft.c
new file mode 100644
index 000000000000..873b64ba19ec
--- /dev/null
+++ b/audio/py-soxr/files/patch-libsoxr_src_pffft.c
@@ -0,0 +1,10 @@
+--- libsoxr/src/pffft.c.orig	2023-03-07 21:21:30 UTC
++++ libsoxr/src/pffft.c
+@@ -100,6 +100,7 @@
+    Altivec support macros
+ */
+ #if !defined(PFFFT_SIMD_DISABLE) && (defined(__ppc__) || defined(__ppc64__))
++#include <altivec.h>
+ typedef vector float v4sf;
+ #  define SIMD_SZ 4
+ #  define VZERO() ((vector float) vec_splat_u8(0))