git: 7f95b4c19c5d - main - multimedia/qt6-multimedia: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Dec 2022 21:13:10 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f95b4c19c5da503894a0994eb09b095a54805dd commit 7f95b4c19c5da503894a0994eb09b095a54805dd Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-12-08 21:12:50 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-12-08 21:12:50 +0000 multimedia/qt6-multimedia: fix build on powerpc64 In file included from /wrkdirs/usr/ports/multimedia/qt6-multimedia/work/qtmultimedia-everywhere-src-6.4.1/src/resonance-audio/../3rdparty/eigen/Eigen/Core:210: /wrkdirs/usr/ports/multimedia/qt6-multimedia/work/qtmultimedia-everywhere-src-6.4.1/src/resonance-audio/../3rdparty/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a); ^~~~~~~~ vec_rsqrt /wrkdirs/usr/ports/multimedia/qt6-multimedia/work/qtmultimedia-everywhere-src-6.4.1/src/resonance-audio/../3rdparty/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1302:22: note: expanded from macro 'BF16_TO_F32_UNARY_OP_WRAPPER' Packet4f op_even = OP(a_even);\ ^ /usr/lib/clang/13.0.0/include/altivec.h:8472:34: note: 'vec_rsqrt' declared here static vector float __ATTRS_o_ai vec_rsqrt(vector float __a) { --- multimedia/qt6-multimedia/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/multimedia/qt6-multimedia/Makefile b/multimedia/qt6-multimedia/Makefile index af0b0deccf5d..cb3d545dde55 100644 --- a/multimedia/qt6-multimedia/Makefile +++ b/multimedia/qt6-multimedia/Makefile @@ -17,4 +17,6 @@ USE_GNOME= glib20 USE_GSTREAMER= bad gl good ugly USE_QT= base declarative shadertools svg +CXXFLAGS_powerpc64= -mvsx + .include <bsd.port.mk>