Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2023 15:39:00 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: aa23c66c6a55 - 2023Q2 - graphics/libjxl: fix build on powerpc / powerpc64
Message-ID:  <202304211539.33LFd0Sp050639@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2023Q2 has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa23c66c6a55bd2b48d84257f97c70c9ef07c0dd

commit aa23c66c6a55bd2b48d84257f97c70c9ef07c0dd
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-04-13 00:51:19 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-04-21 15:36:06 +0000

    graphics/libjxl: fix build on powerpc / powerpc64
    
    /usr/local/include/hwy/ops/ppc_vsx-inl.h:2719:34: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
    
    (cherry picked from commit c6132c766da2e4cf17cce9a001331560f6d330ab)
---
 graphics/libjxl/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile
index f1d4aa1c7b41..cdbe4d4e0cd1 100644
--- a/graphics/libjxl/Makefile
+++ b/graphics/libjxl/Makefile
@@ -22,6 +22,8 @@ GH_TUPLE=	jbeich:skcms:b25b07b:skcms/third_party/skcms \
 		libjxl:testdata:d6168ff:testdata/testdata \
 		webmproject:sjpeg:868ab55:sjpeg/third_party/sjpeg \
 		${NULL}
+CFLAGS_powerpc64=	-DHWY_DISABLE_PPC8_CRYPTO
+CFLAGS_powerpc=	-DHWY_DISABLE_PPC8_CRYPTO
 CMAKE_ON=	JPEGXL_ENABLE_PLUGINS
 CMAKE_OFF=	${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/}
 CMAKE_OFF+=	${OpenGL GLUT:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} # sjpeg



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