git: 34887c68ff1b - main - www/librewolf: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jan 2024 02:32:18 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=34887c68ff1b1cadc938d830cf0d1392d677bd1f
commit 34887c68ff1b1cadc938d830cf0d1392d677bd1f
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-28 02:30:42 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-28 02:32:10 +0000
www/librewolf: fix build on powerpc64
/wrkdirs/usr/ports/www/librewolf/work/librewolf-117.0-1/third_party/highway/hwy/ops/ppc_vsx-inl.h:3193:41: error: use of undeclared identifier 'vec_cipher_be'
return BitCast(du8, detail::CipherVec{vec_cipher_be(
^
---
www/librewolf/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile
index 47f774e30ce7..4e3f55d02dd8 100644
--- a/www/librewolf/Makefile
+++ b/www/librewolf/Makefile
@@ -82,6 +82,7 @@ FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default4
FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/firefox-snap/firefox.desktop
.if ${ARCH} == powerpc64
+CFLAGS+= -DHWY_COMPILE_ONLY_SCALAR
MOZ_OPTIONS+= --without-wasm-sandboxed-libraries
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx${LLVM_VERSION} \