FreeBSD/ports be5f5da — security/hashcat Makefile

security/hashcat: fix build on powerpc64le

Build with MAINTAINER_MODE=1 so the bridges don't get -march=native.
Clang 21 rejects it on powerpc and packages shouldn't use it anyway.
DeltaFile
+2-2security/hashcat/Makefile
+2-21 files

FreeBSD/ports debd6c7 — lang/pocl Makefile, lang/pocl/files patch-lib_CL_pocl__threads__cpp.hh patch-lib_CL_pocl__threads__c.h

lang/pocl: backport fix for crashes with big work-groups

Worker threads were created with the default 2 MB stack, which is too
small for kernels that keep a lot of private data per work-item.
Programs like hashcat crash because of that.

Obtained from:  https://github.com/pocl/pocl/commit/0222df2be566a3e74816f6ba9856efae7d1a8d80
DeltaFile
+39-0lang/pocl/files/patch-lib_CL_pocl__threads.c
+37-0lang/pocl/files/patch-lib_CL_devices_pthread_pthread__scheduler.c
+31-0lang/pocl/files/patch-lib_CL_pocl__threads__c.h
+20-0lang/pocl/files/patch-lib_CL_pocl__threads__cpp.hh
+1-1lang/pocl/Makefile
+128-15 files

FreeBSD/ports 2abe63a — editors/gram Makefile distinfo, editors/gram/files patch-crates_fs_src_fs.rs patch-cargo-crates_minidump-writer-0.12.0_src_minidump__cpu.rs

editors/gram: fix build on powerpc64le

Pull in the upstream fix for KINFO_FILE_SIZE, which is only defined on
amd64 and i386. The vendored minidump-writer and crash-handler crates
also lack powerpc64 in their arch switches.

Approved by:    portmgr (blanket)
DeltaFile
+14-0editors/gram/files/patch-cargo-crates_crash-handler-0.7.0_src_linux_jmp.rs
+0-11editors/gram/files/patch-crates_fs_src_fs.rs
+11-0editors/gram/files/patch-cargo-crates_minidump-writer-0.12.0_src_minidump__cpu.rs
+3-1editors/gram/distinfo
+2-0editors/gram/Makefile
+30-125 files

FreeBSD/ports c37d4e2 — devel/simde Makefile, devel/simde/files patch-simde_simde-math.h

devel/simde: fix the roundeven fallback on powerpc64

clang turns __builtin_roundeven into a roundeven() call when there is no
native rounding instruction and our libm doesn't have it, so consumers
fail to link on powerpc64. Backport the glibc check from simde
6b772fe4e9a0 and cb5b957aa7db.

Approved by:    portmgr (blanket)
DeltaFile
+26-0devel/simde/files/patch-simde_simde-math.h
+1-0devel/simde/Makefile
+27-02 files

FreeBSD/ports 0abe2c0 — audio/surge-synthesizer-xt-lv2/files patch-libs_simde_simde_simde-math.h

audio/surge-synthesizer-xt-lv2: fix build on powerpc64

The bundled simde uses __builtin_roundevenf when there is no VSX and
clang turns it into a call to roundevenf, which our libm doesn't have.
Backport the glibc check from simde 6b772fe4e9a0 and cb5b957aa7db.

Approved by:    portmgr (blanket)
DeltaFile
+26-0audio/surge-synthesizer-xt-lv2/files/patch-libs_simde_simde_simde-math.h
+26-01 files

FreeBSD/ports 2c6722f — sysutils/mise/files patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs

sysutils/mise: fix build and runtime on powerpc64

sonic-number refuses to build on big-endian and sonic-simd's portable
fallback puts the bitmask bits in the wrong order there, so sonic-rs
runs off the buffer on the first string it escapes. Backport the fix
from cloudwego/sonic-rs#265.
DeltaFile
+46-0sysutils/mise/files/patch-cargo-crates_sonic-number-0.1.3_src_swar.rs
+28-0sysutils/mise/files/patch-cargo-crates_sonic-simd-0.1.4_src_v128.rs
+20-0sysutils/mise/files/patch-cargo-crates_sonic-simd-0.1.4_src_bits.rs
+18-0sysutils/mise/files/patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs
+18-0sysutils/mise/files/patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs
+130-05 files

FreeBSD/ports f01c82c — www/waterfox Makefile

www/waterfox: fix build on powerpc64

The WASM sandbox isn't available on big-endian, so only pass
--with-wasi-sysroot and pull in the wasi dependencies on other
architectures, like www/firefox does.
DeltaFile
+8-5www/waterfox/Makefile
+8-51 files

FreeBSD/ports b6d5a17 — math/kalc/files patch-cargo-crates_gmp-mpfr-sys-1.6.5_gmp-6.3.0-c_longlong.h

math/kalc: fix build on powerpc64

The bundled GMP fails its own make check with clang 21: the PowerPC inline
asm only clobbers "cc", so clang keeps a carry in XER across it and
mpn_div_qr_1 comes out wrong. Declare "xer" too.
DeltaFile
+12-0math/kalc/files/patch-cargo-crates_gmp-mpfr-sys-1.6.5_gmp-6.3.0-c_longlong.h
+12-01 files

FreeBSD/ports aa3f1c9 — security/agave distinfo Makefile, security/agave/files patch-cargo-crates_blst-0.3.17_blst_src_no__asm.h patch-cargo-crates_blst-0.3.17_blst_src_vect.h

security/agave: fix build on powerpc64

blstrs and merlin refuse to build on big-endian targets. blstrs'
Scalar::to_bytes_le() dumps the u64 limbs as native bytes, merlin feeds
its keccak state to f1600 in native byte order, and the blst crate
underneath uses 32-bit limbs in its C code on everything but x86_64 and
aarch64 while the Rust bindings declare them as u64, which only agrees
on little-endian. Use blst's own conversion in blstrs and backport
supranational/blst#109 and zkcrypto/merlin#5.
DeltaFile
+35-0security/agave/files/blstrs-big-endian.patch
+23-0security/agave/files/patch-cargo-crates_blst-0.3.17_blst_src_vect.h
+20-0security/agave/files/patch-cargo-crates_blst-0.3.17_blst_src_no__asm.h
+7-0security/agave/Makefile
+3-1security/agave/distinfo
+88-15 files

FreeBSD/ports 90eab40 — games/pioneer Makefile distinfo

games/pioneer: fix build on powerpc64

Pull in the upstream fix for big-endian hosts.

The models only compile with assimp 6.0.6 or newer on big-endian, older
versions misread the COLLADA input offsets there.

Approved by:    portmgr (blanket)
DeltaFile
+3-1games/pioneer/distinfo
+2-0games/pioneer/Makefile
+5-12 files

FreeBSD/ports bbd2003 — mail/oama/files patch-__cabal__deps_text-2.1.4_simdutf_simdutf.h

mail/oama: fix build on powerpc64

The simdutf bundled with text enables its POWER code whenever AltiVec is
available, but that code needs POWER8. Backport simdutf 573d42d7, which
also checks for POWER8.
DeltaFile
+11-0mail/oama/files/patch-__cabal__deps_text-2.1.4_simdutf_simdutf.h
+11-01 files

FreeBSD/ports 9cc5872 — misc/py-vllm Makefile, misc/py-vllm/files patch-cmake_cpu__extension.cmake

misc/py-vllm: fix build on powerpc64

oneDNN builds its ppc64 kernels with -mcpu=native, which clang on FreeBSD
resolves to a plain ppc64 without VSX. Pass it the same -mcpu the rest of
the extension is built with. Bump PORTREVISION since this also changes
the oneDNN flags on powerpc64le.
DeltaFile
+36-1misc/py-vllm/files/patch-cmake_cpu__extension.cmake
+1-1misc/py-vllm/Makefile
+37-22 files

FreeBSD/ports aa95521 — biology/mmseqs2/files patch-lib_simd_simd.h patch-lib_simde_simde_simde-math.h

biology/mmseqs2: fix build and alignment on powerpc64

The bundled SIMDe calls __builtin_roundevenf, which becomes a roundevenf()
libm call without VSX. FreeBSD doesn't have roundevenf(), so use SIMDe's
inline fallback instead, like SIMDe upstream does now.

simd_hmax8_sse() and simd_hmax16_sse() read the _mm_minpos_epu16 result
with _mm_cvtsi128_si32, which on big-endian gives the lane index instead
of the minimum, so every alignment died. Use _mm_extract_epi16 instead.
This is fixed upstream in 0e90db6dc459, which doesn't apply to 17-b804f.
DeltaFile
+26-0biology/mmseqs2/files/patch-lib_simde_simde_simde-math.h
+19-0biology/mmseqs2/files/patch-lib_simd_simd.h
+45-02 files

FreeBSD/ports 51f6be6 — emulators/einstein-newton/files patch-Emulator_ROM_TROMImage.cpp patch-Emulator_Sound_TBufferedSoundManager.h

emulators/einstein-newton: fix build on powerpc64

The big-endian code paths still pass a long-dropped size argument to
memcpy and leave the sound buffer member unused, which -Werror rejects.
DeltaFile
+13-0emulators/einstein-newton/files/patch-Emulator_Sound_TBufferedSoundManager.h
+11-0emulators/einstein-newton/files/patch-Emulator_ROM_TROMImage.cpp
+24-02 files

FreeBSD/ports e3e59d2 — lang/gcc17-devel Makefile, lang/gcc17-devel/files patch-config_bootstrap-lto-noplugin.mk

lang/gcc17-devel: fix build on powerpc64

GCC 17 now checks the exit status of the stage comparison, and
bootstrap-lto-noplugin.mk uses /bin/true, which FreeBSD doesn't have.
Use the shell builtin instead. Also list libitm.info on all arches, it
gets built on powerpc too.
DeltaFile
+8-0lang/gcc17-devel/files/patch-config_bootstrap-lto-noplugin.mk
+2-4lang/gcc17-devel/Makefile
+10-42 files

FreeBSD/ports f70524b — mail/stalwart/files patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs

mail/stalwart: fix build and runtime on powerpc64

sonic-number refuses to build on big-endian and sonic-simd's portable
fallback puts the bitmask bits in the wrong order there, so sonic-rs
runs off the buffer on the first string it escapes. Backport the fix
from cloudwego/sonic-rs#265.
DeltaFile
+46-0mail/stalwart/files/patch-cargo-crates_sonic-number-0.1.3_src_swar.rs
+28-0mail/stalwart/files/patch-cargo-crates_sonic-simd-0.1.4_src_v128.rs
+20-0mail/stalwart/files/patch-cargo-crates_sonic-simd-0.1.4_src_bits.rs
+18-0mail/stalwart/files/patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs
+18-0mail/stalwart/files/patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs
+130-05 files

FreeBSD/ports daef61d — www/trafficserver/files patch-lib_swoc_include_swoc_swoc__ip__util.h

www/trafficserver: fix build on powerpc64

The big-endian branch of the bundled libswoc never compiled, it was dead
code until trafficserver switched the endianness check to __BYTE_ORDER__.
DeltaFile
+17-0www/trafficserver/files/patch-lib_swoc_include_swoc_swoc__ip__util.h
+17-01 files

FreeBSD/ports 03fc0b4 — sysutils/passwordsafe/files patch-src_core_ItemAtt.cpp patch-src_core_ItemData.cpp

sysutils/passwordsafe: fix build on powerpc64

The big-endian code initializes a variable length array, which clang
rejects. Backport the upstream fix (8904886a592b).
DeltaFile
+32-0sysutils/passwordsafe/files/patch-src_core_ItemData.cpp
+30-0sysutils/passwordsafe/files/patch-src_core_ItemAtt.cpp
+62-02 files

FreeBSD/ports eb61de0 — mail/stalwart-migrate/files patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs

mail/stalwart-migrate: fix build and runtime on powerpc64

sonic-number refuses to build on big-endian and sonic-simd's portable
fallback puts the bitmask bits in the wrong order there, so sonic-rs
runs off the buffer on the first string it escapes. Backport the fix
from cloudwego/sonic-rs#265.
DeltaFile
+46-0mail/stalwart-migrate/files/patch-cargo-crates_sonic-number-0.1.3_src_swar.rs
+28-0mail/stalwart-migrate/files/patch-cargo-crates_sonic-simd-0.1.4_src_v128.rs
+20-0mail/stalwart-migrate/files/patch-cargo-crates_sonic-simd-0.1.4_src_bits.rs
+18-0mail/stalwart-migrate/files/patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs
+18-0mail/stalwart-migrate/files/patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs
+130-05 files

FreeBSD/ports 5784e21 — emulators/qemu-user-static distinfo Makefile

emulators/qemu-user-static: fix runtime on powerpc64

machdep.cacheline_size is an int and the code read it into a long, so on
big-endian hosts every emulator died in init_cache_info() before doing
anything. Take the upstream fix.
DeltaFile
+4-1emulators/qemu-user-static/Makefile
+3-1emulators/qemu-user-static/distinfo
+7-22 files

FreeBSD/ports 7d8d193 — graphics/crucible/files patch-include_util_string.h

graphics/crucible: fix build on powerpc64

util/string.h refuses big-endian hosts with an #error, but nothing
depends on the bit-field layout it guards.
DeltaFile
+25-0graphics/crucible/files/patch-include_util_string.h
+25-01 files

FreeBSD/ports 42e5ab1 — games/ivan/files patch-audio_midiplayback.cpp patch-FeLib_Source_graphics.cpp

games/ivan: fix build and startup crash on powerpc64

The big-endian branch in graphics.cpp was only ever written for SDL1, and
the MIDI parser byte-swaps file fields as if the host were little-endian.
DeltaFile
+37-0games/ivan/files/patch-audio_midiparser.cpp
+25-0games/ivan/files/patch-FeLib_Source_graphics.cpp
+14-0games/ivan/files/patch-audio_midiplayback.cpp
+76-03 files

FreeBSD/ports 2886735 — emulators/qemu-user-static Makefile

emulators/qemu-user-static: enable on powerpc64le

The code already supports little-endian POWER hosts, only the port kept
it out. Point the little-endian build at the ppc64 host directory like
emulators/qemu does.
DeltaFile
+3-3emulators/qemu-user-static/Makefile
+3-31 files

FreeBSD/ports addd7c1 — textproc/evtx/files patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs

textproc/evtx: fix build and runtime on powerpc64

sonic-number refuses to build on big-endian and sonic-simd's portable
fallback puts the bitmask bits in the wrong order there, so sonic-rs
runs off the buffer on the first string it escapes. Backport the fix
from cloudwego/sonic-rs#265.
DeltaFile
+46-0textproc/evtx/files/patch-cargo-crates_sonic-number-0.1.3_src_swar.rs
+28-0textproc/evtx/files/patch-cargo-crates_sonic-simd-0.1.4_src_v128.rs
+20-0textproc/evtx/files/patch-cargo-crates_sonic-simd-0.1.4_src_bits.rs
+18-0textproc/evtx/files/patch-cargo-crates_sonic-simd-0.1.4_src_v256.rs
+18-0textproc/evtx/files/patch-cargo-crates_sonic-simd-0.1.4_src_v512.rs
+130-05 files

FreeBSD/ports bc902b9 — www/qt6-webengine/files patch-src_3rdparty_chromium_v8_src_execution_ppc_frame-constants-ppc.h

www/qt6-webengine: fix the build on powerpc64le

Qt 6.11.3 ships a V8 where frames.cc already uses
WasmLiftoffSetupFrameConstants::kCallingPCOffset (V8 dec5f6bdbe68) but the
PPC frame constants did not get it yet (V8 f285826766bd). Add the one line.
DeltaFile
+15-0www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_execution_ppc_frame-constants-ppc.h
+15-01 files

FreeBSD/ports 70df0bb — misc/codex/files/rusty_v8 patch-third__party_partition__alloc_partition__alloc.gni

misc/codex: fix gn gen on powerpc64*

The partition_alloc revision rusty_v8 pins doesn't know ppc64 yet, so gn
gen dies with "Unknown CPU: ppc64" since V8 started importing
partition_alloc.gni. Backport the upstream fix (Chromium 8fd8e6027af0).

mksnapshot (and so the build) still fails most of the time under the
52-bit ASLR of 15.2 kernels: V8 keeps cppgc pointers in 48 bits. That
one is for the kernel (D61331).
DeltaFile
+17-4misc/codex/files/rusty_v8/patch-third__party_partition__alloc_partition__alloc.gni
+17-41 files

FreeBSD/ports 321c750 — graphics/photocraft Makefile distinfo

graphics/photocraft: update to 0.23.1

Changelog:      https://github.com/storytold/photocraft/releases/tag/v0.23.1
DeltaFile
+3-3graphics/photocraft/distinfo
+2-2graphics/photocraft/Makefile
+5-52 files

FreeBSD/ports be66002 — japanese/fcitx5-hazkey distinfo Makefile

japanese/fcitx5-hazkey: fix build on powerpc64le

The bundled llama.cpp still has register in the POWER9 fp16 helpers,
which clang rejects in C++17. Pull in the upstream fix.
DeltaFile
+5-0japanese/fcitx5-hazkey/Makefile
+3-1japanese/fcitx5-hazkey/distinfo
+8-12 files

FreeBSD/ports 307f454 — audio/maolan/files patch-cargo-crates_hi__sparse__bitset-0.10.0_src_direct__bitset.rs patch-cargo-crates_hi__sparse__bitset-0.9.0_src_direct__bitset.rs

audio/maolan: fix build on powerpc64

The big-endian code in the hi_sparse_bitset crate doesn't compile, it
was never built upstream. Implement it so the serialized format is the
same as on little-endian.
DeltaFile
+77-0audio/maolan/files/patch-cargo-crates_hi__sparse__bitset-0.9.0_src_serialization.rs
+77-0audio/maolan/files/patch-cargo-crates_hi__sparse__bitset-0.10.0_src_serialization.rs
+64-0audio/maolan/files/patch-cargo-crates_hi__sparse__bitset-0.9.0_src_bit__block.rs
+64-0audio/maolan/files/patch-cargo-crates_hi__sparse__bitset-0.10.0_src_bit__block.rs
+34-0audio/maolan/files/patch-cargo-crates_hi__sparse__bitset-0.10.0_src_direct__bitset.rs
+34-0audio/maolan/files/patch-cargo-crates_hi__sparse__bitset-0.9.0_src_direct__bitset.rs
+350-02 files not shown
+410-08 files

FreeBSD/ports c91d279 — graphics/photocraft Makefile distinfo

graphics/photocraft: update to 0.23.0

Changelog:      https://github.com/storytold/photocraft/releases/tag/v0.23.0
DeltaFile
+11-7graphics/photocraft/distinfo
+6-4graphics/photocraft/Makefile
+17-112 files