git: 523cefc77b71 - main - devel/highway: fix build on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 24 Mar 2023 20:08:04 UTC
The branch main has been updated by pkubaj:

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

commit 523cefc77b71d0b39b417f6ff15938c0d7fdfaa4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-03-24 20:07:13 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-03-24 20:07:56 +0000

    devel/highway: fix build on powerpc64
    
    /wrkdirs/usr/ports/devel/highway/work/highway-1.0.4/hwy/ops/ppc_vsx-inl.h:2688:41: error: use of undeclared identifier 'vec_cipher_be'
      return BitCast(du8, detail::CipherVec{vec_cipher_be(
---
 devel/highway/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/highway/Makefile b/devel/highway/Makefile
index 1576c80c9060..aed553f65204 100644
--- a/devel/highway/Makefile
+++ b/devel/highway/Makefile
@@ -13,6 +13,7 @@ TEST_DEPENDS=	googletest>0:devel/googletest
 USES=		cmake:testing compiler:c++11-lib
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
+CFLAGS_powerpc64=	-mcrypto -mpower8-vector
 CMAKE_ON=	BUILD_SHARED_LIBS HWY_SYSTEM_GTEST
 CMAKE_OFF+=	${CMAKE_TESTING_ON}