Date: Fri, 10 May 2024 16:20:25 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: fdf434595805 - main - emulators/mednafen: fix build on powerpc64* Message-ID: <202405101620.44AGKPqW082014@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=fdf434595805724973180480d2ced784563f560d commit fdf434595805724973180480d2ced784563f560d Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-05-08 22:39:10 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-05-10 16:19:52 +0000 emulators/mednafen: fix build on powerpc64* sound/OwlResampler_altivec.inc:35:11: error: use of undeclared identifier 'vec_madd' --- emulators/mednafen/files/patch-src_sound_OwlResampler__altivec.inc | 7 +++++++ .../mednafen/files/patch-src_sound_SwiftResampler__altivec.inc | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/emulators/mednafen/files/patch-src_sound_OwlResampler__altivec.inc b/emulators/mednafen/files/patch-src_sound_OwlResampler__altivec.inc new file mode 100644 index 000000000000..cad6e417a854 --- /dev/null +++ b/emulators/mednafen/files/patch-src_sound_OwlResampler__altivec.inc @@ -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> + // + // + // diff --git a/emulators/mednafen/files/patch-src_sound_SwiftResampler__altivec.inc b/emulators/mednafen/files/patch-src_sound_SwiftResampler__altivec.inc new file mode 100644 index 000000000000..85304e9341eb --- /dev/null +++ b/emulators/mednafen/files/patch-src_sound_SwiftResampler__altivec.inc @@ -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) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405101620.44AGKPqW082014>