net/ucx: fix build on FreeBSD 13.5 by defining s6_addr32 shim
FreeBSD's struct in6_addr does not provide s6_addr32 directly. Add a small
shim in src/uct/ib/base/ib_device.c to map s6_addr32 to the FreeBSD layout
(__u6_addr.__u6_addr32) when s6_addr32 is not already available.
PR: 293429
Tested by: kib
MFH: 2026Q1
(cherry picked from commit 63a68d9d459a0ed27f7b1dadaee6cf4cdbe8e2af)
misc/onnxruntime: fix build on armv7 and aarch64
A linux-only structure member of the cpuinfo.h API is used to determine
CPU affinity on some architectures. Use the fallback on FreeBSD, as on
platforms that do not support cpuinfo.h at all.
See also: https://github.com/microsoft/onnxruntime/issues/23181
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
(cherry picked from commit d8dc35987b95f29185aa53aeb9ddd72020e6b5ff)
net-mgmt/cacti88-spine: fix build
net-snmp-config --cflags returns some bogus cflags, including some
dreaded -Werror flags (?!), preventing the build. Filter those out
as a stop gap measure.
PR: 293905
MFH: 2026Q1
Approved by: portmgr (build fix blanket)
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit fecd9038739e721fe150b4063f40c3cbb4fe9847)
biology/iolib: fix build on armv7
This port tries to use NEON if __ARM_NEON is defined. Unfortunately it
now requires a bunch of intrinsics available on AArch64 only, breaking
the armv7 build. Fix the build by disabling NEON on armv7.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
misc/onnxruntime: fix build on armv7 and aarch64
A linux-only structure member of the cpuinfo.h API is used to determine
CPU affinity on some architectures. Use the fallback on FreeBSD, as on
platforms that do not support cpuinfo.h at all.
See also: https://github.com/microsoft/onnxruntime/issues/23181
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
textproc/sonic: Make tokenizer features optional via OPTIONS, adopt port
This patch makes the Japanese and Chinese word segmentation features
optional via FreeBSD OPTIONS helpers, and adopts the port.
Currently the port unconditionally downloads a ~100MB UniDic Japanese
dictionary (unidic-mecab-2.1.2_src.zip) for every build, regardless of
whether the user needs Japanese tokenization. Upstream removed
tokenizer-japanese from default cargo features in v1.4.2 because it
10x'd the final binary size. This patch brings the port in line with
upstream's intent.
Changes:
- MAINTAINER changed to wadegimpbc at tuta.com
- Added CHINESE and JAPANESE OPTIONS using OPTIONS helpers
- OPTIONS_DEFAULT includes CHINESE (matching upstream's default features)
- UniDic download now conditional on JAPANESE option
- CARGO_FEATURES uses --no-default-features with allocator-jemalloc as
base, per cargo.mk convention (lines 23-26, 192, 197-200)
[3 lines not shown]
net/ucx: fix build on FreeBSD 13.5 by defining s6_addr32 shim
FreeBSD's struct in6_addr does not provide s6_addr32 directly. Add a small
shim in src/uct/ib/base/ib_device.c to map s6_addr32 to the FreeBSD layout
(__u6_addr.__u6_addr32) when s6_addr32 is not already available.
PR: 293429
Tested by: kib
MFH: 2026Q1
*/*: Go ports that use modernc.org/sqlite are for aarch64, amd64 only
The module modernc.org/sqlite (and dependencies such as modernc.org/libc)
are only available on aarch64 and amd64 FreeBSD. Other platforms are
not supported on FreeBSD right now.
Consistently mark ports using these with ONLY_FOR_ARCHS.
See also: b1e7e12428e07a6f36afdc91b21ae044f4c4db3c
Approved by: portmgr (build fix blanket)
textproc/krep: fix build on armv7
Add polyfill for the vmaxvq_u8() intrinsic only available on AArch64.
This should probably be upstreamed.
Approved by: portmgr (build fix blanket)
sysutils/runwhen: Patch compatibility with skalibs 2.14.5.1
The exec0() function has been replaced by a macro. If the <skalibs/exec.h>
header isn't included the old *exec*() function names become missing symbols.
PR: 293916
net-mgmt/cacti88-spine: fix build
net-snmp-config --cflags returns some bogus cflags, including some
dreaded -Werror flags (?!), preventing the build. Filter those out
as a stop gap measure.
PR: 293905
MFH: 2026Q1
Approved by: portmgr (build fix blanket)
Sponsored by: Raptor Computing Systems, LLC
deskutils/copyq: Update to 14.0.0
Shipping without audio a qca support for the time being.
Note for packagers (upstream release notes):
- This requires QCA and QtKeychain libraries, but it can be
disabled at build time with CMake options WITH_QCA_ENCRYPTION and
WITH_KEYCHAIN
- This requires miniaudio library, but it can be disabled
at build time with CMake option WITH_AUDIO.
ChangeLog: https://github.com/hluk/CopyQ/releases/tag/v14.0.0