Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2023 09:49:28 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0877b50af2cb - main - audio/py-soxr: fix build on powerpc*
Message-ID:  <202303090949.3299nSKq056631@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303090949.3299nSKq056631>