diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-03-09 09:48:58 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-03-09 09:48:58 +0000 |
commit | 0877b50af2cb07135ae9a44d66cbf6e5b3a5b5ae (patch) | |
tree | 8472cd88088332b04c7ae457c495fa78a6329465 | |
parent | 16fdc23ac87087a19e22bcfcc4ca21d1dacbe75b (diff) | |
download | ports-0877b50af2cb07135ae9a44d66cbf6e5b3a5b5ae.tar.gz ports-0877b50af2cb07135ae9a44d66cbf6e5b3a5b5ae.zip |
audio/py-soxr: fix build on powerpc*
-rw-r--r-- | audio/py-soxr/files/patch-libsoxr_src_pffft.c | 10 |
1 files changed, 10 insertions, 0 deletions
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)) |