git: ff044512fb1a - main - audio/cardinal: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Aug 2023 16:04:50 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff044512fb1aa96ba5a824d6367202bbdf4f9d98 commit ff044512fb1aa96ba5a824d6367202bbdf4f9d98 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-08-19 16:04:07 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-08-19 16:04:07 +0000 audio/cardinal: fix build on powerpc64le --- audio/cardinal/Makefile | 1 + audio/cardinal/files/patch-include_neon-compat_pmmintrin.h | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/audio/cardinal/Makefile b/audio/cardinal/Makefile index 656b269ec577..a5b9ae3a62c4 100644 --- a/audio/cardinal/Makefile +++ b/audio/cardinal/Makefile @@ -30,6 +30,7 @@ USE_GL= gl SHEBANG_GLOB= *.sh CXXFLAGS+= -I${LOCALBASE}/include/pffft +CXXFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS LDFLAGS+= -lpffft MAKE_ENV= LD_PRELOAD=/usr/lib/libpthread.so # workaround for https://github.com/DISTRHO/Cardinal/issues/128#issuecomment-1030817359 diff --git a/audio/cardinal/files/patch-include_neon-compat_pmmintrin.h b/audio/cardinal/files/patch-include_neon-compat_pmmintrin.h new file mode 100644 index 000000000000..4ca34e062f6e --- /dev/null +++ b/audio/cardinal/files/patch-include_neon-compat_pmmintrin.h @@ -0,0 +1,11 @@ +--- include/neon-compat/pmmintrin.h.orig 2023-08-16 16:08:02 UTC ++++ include/neon-compat/pmmintrin.h +@@ -17,7 +17,7 @@ + + #pragma once + +-#if defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__) ++#if defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__) || defined(__powerpc64__) + # include_next <pmmintrin.h> + #else + # include "../sse2neon/sse2neon.h"