x11/contour: Update to 0.6.2.8008
While here, add patch to fix build with clang/libc++ 19.
libc++ 19 only provides std::char_traits for character types, which
causes compile errors when crispy::fnv is instantiated with non-char
types.
Restricting string-related overloads to char-only types, and adding a
generic trivially-copyable value hashing overload restore successful
builds on clang/libc++ 19.
Changelog: https://github.com/contour-terminal/contour/releases/tag/v0.6.2.8008
Reported by: portscout
net-mgmt/aircrack-ng: fix build on powerpc64
simd-intrinsics.c:2912:25: error: '__builtin_altivec_vsrd' requires the '-mcpu=power8' and '-mvsx' options
x11/contour: fix build on powerpc*
Workaround for clang crash:
Assertion failed: (isValid()), function getFilename, file /usr/src/contrib/llvm-project/clang/include/clang/Basic/SourceLocation.h, line 328.
misc/bedrust: fix build on powerpc64
Little-endian is misdetected:
/wrkdirs/usr/ports/misc/bedrust/work/bedrust-0.8.8/cargo-crates/aws-lc-sys-0.27.1/aws-lc/crypto/fipsmodule/sha/sha1-altivec.c:107:5: error: call to undeclared function 'vec_vsx_ld'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
107 | vec_vsx_ld(0, (const unsigned char*) data);
| ^
/wrkdirs/usr/ports/misc/bedrust/work/bedrust-0.8.8/cargo-crates/aws-lc-sys-0.27.1/aws-lc/crypto/fipsmodule/sha/sha1-altivec.c:106:30: error: initializing '__vector unsigned char const' (vector of 16 'unsigned char' values) with an expression of incompatible type 'int'
106 | const vector unsigned char unaligned_data =
| ^
107 | vec_vsx_ld(0, (const unsigned char*) data);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
multimedia/vvdec: fix build on powerpc64
/wrkdirs/usr/ports/multimedia/vvdec/work/vvdec-3.1.0/source/Lib/CommonLib/x86/sse41/../InterPredX86.h:199:20: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
emulators/mame: fix build on powerpc*
../../../../../src/emu/video/rgbutil.cpp:365:16: error: out-of-line definition of 'bilinear_filter' does not match any declaration in 'rgbaint_t'
365 | u32 rgbaint_t::bilinear_filter(const u32 &rgb00, const u32 &rgb01, const u32 &rgb10, const u32 &rgb11, u8 u, u8 v)
| ^~~~~~~~~~~~~~~
In file included from ../../../../../src/emu/video/rgbutil.cpp:13:
../../../../../src/emu/video/rgbutil.h:429:29: note: type of 1st parameter of member declaration does not match definition ('u32' (aka 'unsigned int') vs 'const u32 &' (aka 'const unsigned int &'))
429 | static u32 bilinear_filter(u32 rgb00, u32 rgb01, u32 rgb10, u32 rgb11, u8 u, u8 v) noexcept;
| ^
Archiving libpce.a...
rm -f ../../../../freebsd/bin/x64/Release/mame_mame/libpce.a
../../../../../src/emu/video/rgbutil.cpp:408:17: error: out-of-line definition of 'bilinear_filter_rgbaint' does not match any declaration in 'rgbaint_t'
408 | void rgbaint_t::bilinear_filter_rgbaint(const u32 &rgb00, const u32 &rgb01, const u32 &rgb10, const u32 &rgb11, u8 u, u8 v)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../../src/emu/video/rgbutil.cpp:13:
../../../../../src/emu/video/rgbutil.h:430:31: note: type of 1st parameter of member declaration does not match definition ('u32' (aka 'unsigned int') vs 'const u32 &' (aka 'const unsigned int &'))
430 | void bilinear_filter_rgbaint(u32 rgb00, u32 rgb01, u32 rgb10, u32 rgb11, u8 u, u8 v) noexcept;
| ^
misc/onnxruntime: fix build on powerpc64
VSX is required:
/wrkdirs/usr/ports/misc/onnxruntime/work/onnxruntime-1.23.2/onnxruntime/core/mlas/lib/power/FgemmKernelpower.h:155:27: error: use of undeclared identifier 'vec_splat'
ABroadcast[Row] = vec_splat(AElements[Row], Lane);
net-mgmt/librenms: Allow for use of mariadb
Remove the run-time dependency upon a mysql client.
This update allows the mysql client to be removed and replaced by a
mariadb client.
PR: 292266