1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

emulators/mednafen: fix build on powerpc64*

sound/OwlResampler_altivec.inc:35:11: error: use of undeclared identifier 'vec_madd'
This commit is contained in:
Piotr Kubaj 2024-05-09 00:39:10 +02:00
parent b957fb0221
commit fdf4345958
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
--- src/sound/OwlResampler_altivec.inc.orig 2024-05-08 15:13:14 UTC
+++ src/sound/OwlResampler_altivec.inc
@@ -1,3 +1,4 @@
+#include <altivec.h>
//
//
//

View File

@ -0,0 +1,7 @@
--- src/sound/SwiftResampler_altivec.inc.orig 2024-05-08 15:12:59 UTC
+++ src/sound/SwiftResampler_altivec.inc
@@ -1,3 +1,4 @@
+#include <altivec.h>
template<unsigned TA_NumFractBits>
static INLINE void DoMAC_AltiVec(const int16 *wave, const int16 *coeffs, int32 count, int32 *accum_output)
{