aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2026-08-02 06:35:35 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2026-08-03 15:21:14 +0000
commit6dfb907ddd236b03111af28ab68a04ab7b4f2aa0 (patch)
tree3abcaf5932e867aff19a62572b7797ad31dd171f
parentd9a00047e09ecfe481cdc122fcf8e1db5d7b2cac (diff)
devel/xsimd: fix powerpc64le runtime
vector variables with long type are deprecated, switch to long long as upstream did.
-rw-r--r--devel/xsimd/Makefile1
-rw-r--r--devel/xsimd/files/patch-include_xsimd_types_xsimd__vsx__register.hpp16
2 files changed, 17 insertions, 0 deletions
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= yuri@FreeBSD.org
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
+ }