diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-02-10 21:30:21 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-02-10 21:30:21 +0000 |
commit | 3de021f57d298cfba9739a0c79fba48c0ce9f638 (patch) | |
tree | eff12328c90a4a9ed0fee5d6a877a942ea4a8d31 | |
parent | cfa7ab1144e8890718a76cf6708bdcb41e2f9bf0 (diff) | |
download | ports-3de021f57d298cfba9739a0c79fba48c0ce9f638.tar.gz ports-3de021f57d298cfba9739a0c79fba48c0ce9f638.zip |
www/firefox: fix build on powerpc64le
/wrkdirs/usr/ports/www/firefox/work/firefox-97.0/third_party/libwebrtc/third_party/pffft/src/pffft.c:110:45: error: implicit declaration of function 'vec_lde' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
inline v4sf ld_ps1(const float *p) { v4sf v=vec_lde(0,p); return vec_splat(vec_perm(v, v, vec_lvsl(0, p)), 0); }
^
-rw-r--r-- | www/firefox/files/patch-third__party_libwebrtc_third__party_pffft_src_pffft.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/firefox/files/patch-third__party_libwebrtc_third__party_pffft_src_pffft.c b/www/firefox/files/patch-third__party_libwebrtc_third__party_pffft_src_pffft.c new file mode 100644 index 000000000000..465d6b7f01c7 --- /dev/null +++ b/www/firefox/files/patch-third__party_libwebrtc_third__party_pffft_src_pffft.c @@ -0,0 +1,10 @@ +--- third_party/libwebrtc/third_party/pffft/src/pffft.c.orig 2022-02-10 18:57:48 UTC ++++ third_party/libwebrtc/third_party/pffft/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)) |