Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2022 00:58:13 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: b908189b7579 - main - multimedia/qt6-multimedia: fix build on powerpc
Message-ID:  <202212210058.2BL0wDgO050946@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=b908189b75796febef19abcea6a623773b54de4f

commit b908189b75796febef19abcea6a623773b54de4f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-12-21 00:57:55 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-12-21 00:57:55 +0000

    multimedia/qt6-multimedia: fix build on powerpc
    
    No AltiVec on powerpc:
    In file included from /wrkdirs/usr/ports/multimedia/qt6-multimedia/work/qtmultimedia-everywhere-src-6.4.1/src/3rdparty/pffft/pffft.c:107:
    /usr/lib/clang/13.0.0/include/altivec.h:13:2: error: "AltiVec support not enabled"
---
 multimedia/qt6-multimedia/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/qt6-multimedia/Makefile b/multimedia/qt6-multimedia/Makefile
index cb3d545dde55..63ca7a9b6898 100644
--- a/multimedia/qt6-multimedia/Makefile
+++ b/multimedia/qt6-multimedia/Makefile
@@ -18,5 +18,6 @@ USE_GSTREAMER=	bad gl good ugly
 USE_QT=		base declarative shadertools svg
 
 CXXFLAGS_powerpc64=	-mvsx
+CFLAGS_powerpc=	-DPFFFT_SIMD_DISABLE
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212210058.2BL0wDgO050946>