git: a6ef6614d7d9 - main - www/firefox: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jun 2026 16:33:26 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a6ef6614d7d998702418f89f4e853db3c6c96ed4
commit a6ef6614d7d998702418f89f4e853db3c6c96ed4
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-06-28 14:10:17 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-06-30 16:33:13 +0000
www/firefox: fix build on powerpc64le
Already fixed in upstream xsimd:
In file included from /wrkdirs/usr/ports/www/firefox/work/.build/gfx/thebes/Unified_cpp_gfx_thebes0.cpp:65:
In file included from /wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/gfx/thebes/gfxAlphaRecovery.cpp:12:
In file included from /wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/xsimd.hpp:63:
In file included from /wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/memory/xsimd_aligned_allocator.hpp:27:
In file included from /wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/config/xsimd_arch.hpp:19:
In file included from /wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/types/xsimd_all_registers.hpp:51:
/wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp:67:61: error: cannot use 'long' with '__vector bool'
67 | XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned long, long);
| ^
/wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp:67:55: warning: use of 'long' with '__vector' is deprecated [-Wdeprecated]
67 | XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned long, long);
| ^
/wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp:68:52: error: cannot use 'long' with '__vector bool'
68 | XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(long, long);
| ^
/wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp:68:46: warning: use of 'long' with '__vector' is deprecated [-Wdeprecated]
68 | XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(long, long);
| ^
/wrkdirs/usr/ports/www/firefox/work/firefox-152.0.2/third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp:70:54: error: cannot use 'long' with '__vector bool'
70 | XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(double, long);
| ^
5 warnings and 3 errors generated.
---
...ty_xsimd_include_xsimd_types_xsimd__vsx__register.hpp | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/www/firefox/files/patch-third__party_xsimd_include_xsimd_types_xsimd__vsx__register.hpp b/www/firefox/files/patch-third__party_xsimd_include_xsimd_types_xsimd__vsx__register.hpp
new file mode 100644
index 000000000000..51367c0ea805
--- /dev/null
+++ b/www/firefox/files/patch-third__party_xsimd_include_xsimd_types_xsimd__vsx__register.hpp
@@ -0,0 +1,16 @@
+--- third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp.orig 2026-06-28 10:55:46.683534000 +0200
++++ third_party/xsimd/include/xsimd/types/xsimd_vsx_register.hpp 2026-06-28 10:55:46.694422000 +0200
+@@ -64,10 +64,10 @@
+ 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
+ }