git: 9c5ef725fecb - main - graphics/diplib: fix build on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 13 Apr 2023 00:52:12 UTC
The branch main has been updated by pkubaj:

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

commit 9c5ef725fecb10e5ba6c7064f55cb8eb54db9072
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-04-13 00:51:21 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-04-13 00:51:21 +0000

    graphics/diplib: fix build on powerpc64
    
    /wrkdirs/usr/ports/graphics/diplib/work/diplib-3.4.0/dependencies/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'?
---
 graphics/diplib/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/diplib/Makefile b/graphics/diplib/Makefile
index 42b3093688e6..091793b0d9e8 100644
--- a/graphics/diplib/Makefile
+++ b/graphics/diplib/Makefile
@@ -16,6 +16,7 @@ USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	DIPlib
 
+CXXFLAGS_powerpc64=	-mvsx
 CMAKE_OFF=	DIP_BUILD_PYDIP
 CMAKE_TESTING_ON=	DIP_ENABLE_DOCTEST
 CMAKE_TESTING_TARGET=	check # one test fails, see https://github.com/DIPlib/diplib/issues/120