Skip to content

Commit

Permalink
audio/py-soxr: fix build on powerpc*
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Mar 9, 2023
1 parent 16fdc23 commit 0877b50
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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))

0 comments on commit 0877b50

Please sign in to comment.