git: 6dfb907ddd23 - main - devel/xsimd: fix powerpc64le runtime

Piotr Kubaj <[email protected]> Mon, 03 Aug 2026 15:21:41 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by pkubaj:

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

commit 6dfb907ddd236b03111af28ab68a04ab7b4f2aa0
Author:     Piotr Kubaj <[email protected]>
AuthorDate: 2026-08-02 06:35:35 +0000
Commit:     Piotr Kubaj <[email protected]>
CommitDate: 2026-08-03 15:21:14 +0000

    devel/xsimd: fix powerpc64le runtime
    
    vector variables with long type are deprecated,
    switch to long long as upstream did.
---
 devel/xsimd/Makefile                                     |  1 +
 .../patch-include_xsimd_types_xsimd__vsx__register.hpp   | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/devel/xsimd/Makefile b/devel/xsimd/Makefile
index dd8a2139c116..46f6c26f9a62 100644
--- a/devel/xsimd/Makefile
+++ b/devel/xsimd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xsimd
 DISTVERSION=	14.0.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	[email protected]
diff --git a/devel/xsimd/files/patch-include_xsimd_types_xsimd__vsx__register.hpp b/devel/xsimd/files/patch-include_xsimd_types_xsimd__vsx__register.hpp
new file mode 100644
index 000000000000..e12a160ddc08
--- /dev/null
+++ b/devel/xsimd/files/patch-include_xsimd_types_xsimd__vsx__register.hpp
@@ -0,0 +1,16 @@
+--- include/xsimd/types/xsimd_vsx_register.hpp.orig	2026-08-01 20:31:20 UTC
++++ include/xsimd/types/xsimd_vsx_register.hpp
+@@ -64,10 +64,10 @@ namespace xsimd
+         XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(short, short);
+         XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned int, int);
+         XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(int, int);
+-        XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned long, long);
+-        XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(long, long);
++        XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned long, long long);
++        XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(long, long long);
+         XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(float, int);
+-        XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(double, long);
++        XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(double, long long);
+ 
+ #undef XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER
+     }