heimdal: Pass the correct pointer to realloc when growing a string buffer
The realloc in my_fgetln was trying to grow the pointer to the string
buffer, not the string buffer itself.
In function 'my_fgetln',
inlined from 'mit_prop_dump' at crypto/heimdal/kdc/mit_dump.c:156:19:
crypto/heimdal/kdc/mit_dump.c:119:13: error: 'realloc' called on unallocated object 'line' [-Werror=free-nonheap-object]
119 | n = realloc(buf, *sz + (*sz >> 1));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto/heimdal/kdc/mit_dump.c: In function 'mit_prop_dump':
crypto/heimdal/kdc/mit_dump.c:139:11: note: declared here
139 | char *line = NULL;
| ^~~~
Reviewed by: rmacklem, cy
Fixes: a93e1b731ae4 ("heimdal-kadmin: Add support for the -f dump option")
Differential Revision: https://reviews.freebsd.org/D54933
(cherry picked from commit 03d8ac948b1ad9c419b294c3129b7da58d818363)
heimdal: Pass the correct pointer to free in an error case
This fixes a warning reported by GCC 14 on stable/14:
crypto/heimdal/lib/hdb/keys.c:241:13: warning: 'free' called on pointer 'ext' with nonzero offset 16 [-Wfree-nonheap-object]
241 | free(hist_keys);
| ^~~~~~~~~~~~~~~
crypto/heimdal/lib/hdb/keys.c:234:15: note: returned from 'calloc'
234 | ext = calloc(1, sizeof (*ext));
| ^~~~~~~~~~~~~~~~~~~~~~~~
Reviewed by: rmacklem, cy
Fixes: 5000d023a446 ("heimdal-kadmin: Add support for the -f dump option")
Differential Revision: https://reviews.freebsd.org/D54932
(cherry picked from commit b26a7af438f36dcde86f39a681123cc2140affb2)
vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated
PR#293198 reports a hang within ZFS when exports
are being updated concurrently with a VOP_SETEXTATTR().
The hang appears to be caused by mishandling of the
z_teardown_lock, but fixing handling of this lock appears
to be a major effort. Since the hang occurs when
VFS_MOUNT() acquires a write/exclusive z_teardown_lock,
which rarely occurs, except when exports are being updated,
this patch avoids the VFS_MOUNT() call for this case.
Avoiding a VFS_MOUNT() call fixes the hang for the case
reported by PR#293198 and is also an optimization.
As such, this patch avoids the VFS_MOUNT() call when only exports
are being updated similar to what was already being done
within vnet prisons.
PR: 293198
(cherry picked from commit 935cf3284f520c90a63baaadb762caaa30084f5c)
sysutils/amdmsrtweaker: fix build on recent FreeBSD
bmake has recently started to support $^ in addition to $>, causing
both to expand and leading to a build error like
c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall \
-Werror -pedantic -o amdmsrt Info.o AmdMsrTweaker.o WinRing0.o \
Worker.oInfo.o AmdMsrTweaker.o WinRing0.o Worker.o
c++: error: no such file or directory: 'Worker.oInfo.o'
Fix the error by avoiding both $^ and $>.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
(cherry picked from commit 87999cd890995b259fa61e70dba80e8a8d153964)
biology/ncbi-cxx-toolkit: only for aarch64, amd64
This port uses SIMD intrincis to compute CRC checksums.
It's probably easy to add a generic code path if desired.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit 2ea396c568c8df2627010da3d0f55ba9a98e7a85)
biology/infernal: not for ppc64le
Project can use VMX, but only on big endian platforms.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit 8e33257234d52d48e390cce3d55162aebaa6c59d)
biology/ncbi-blast+: only for aarch64, amd64
This port uses SIMD intrincis to compute CRC checksums.
It's probably easy to add a generic code path if desired.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit c306479f2b4a4dd7c6d7b7c716574a25a0748986)
japanese/kdrill: fix build
This adds a missing parenthesis to $(LOCALBASE).
It is unclear why this hasn't been noticed earlier.
While we are at it, define LICENSE.
Fixes: 2546bd0290761071e3ad392427d7c2ba4e5a396b
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit 8552be0c42f43fbc0a2db02c7982e8355c6b52a4)
sysutils/amdmsrtweaker: fix build on recent FreeBSD
bmake has recently started to support $^ in addition to $>, causing
both to expand and leading to a build error like
c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall \
-Werror -pedantic -o amdmsrt Info.o AmdMsrTweaker.o WinRing0.o \
Worker.oInfo.o AmdMsrTweaker.o WinRing0.o Worker.o
c++: error: no such file or directory: 'Worker.oInfo.o'
Fix the error by avoiding both $^ and $>.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
net/ucx: Unified Communication X for high-performance messaging
UCX (Unified Communication X) is a high-performance communication framework
for modern HPC and data-intensive workloads. It provides low-latency,
high-bandwidth messaging and remote-memory-access primitives across a wide
range of transports, including shared memory, TCP/IP, and RDMA-capable
interconnects such as InfiniBand and RoCE (when supported by the platform).
UCX is commonly used as a communication substrate for MPI, OpenSHMEM, and
other distributed runtimes. It exposes a set of layered APIs (UCP/UCT/UCS/UCM)
to balance portability and performance while enabling optimized transport
selection, rendezvous protocols, and progress models.
PR: 292889
biology/ncbi-cxx-toolkit: only for aarch64, amd64
This port uses SIMD intrincis to compute CRC checksums.
It's probably easy to add a generic code path if desired.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
biology/ncbi-blast+: only for aarch64, amd64
This port uses SIMD intrincis to compute CRC checksums.
It's probably easy to add a generic code path if desired.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
biology/infernal: not for ppc64le
Project can use VMX, but only on big endian platforms.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC
sysutils/symon: update to 2.90
- now broken on FreeBSD 15 on account of DIOCGETSTATUS being removed
Changelog: https://wpd.home.xs4all.nl/symon/changelog.html
Sponsored by: Raptor Computing Systems, LLC
textproc/regex2dfa: broken everywhere, very much out of date
/bin/sh ../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++0x -MT fst.lo -MD -MP -MF .deps/fst.Tpo -c -o fst.lo fst.cc
libtool: compile: c++ -DHAVE_CONFIG_H -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++0x -MT fst.lo -MD -MP -MF .deps/fst.Tpo -c fst.cc -o fst.o
In file included from fst.cc:26:
In file included from ./../include/fst/matcher-fst.h:26:
In file included from ./../include/fst/lookahead-matcher.h:28:
In file included from ./../include/fst/label-reachable.h:32:
In file included from ./../include/fst/accumulator.h:36:
In file included from ./../include/fst/replace.h:40:
In file included from ./../include/fst/state-table.h:31:
./../include/fst/bi-table.h:356:31: error: no member named 's_' in 'VectorHashBiTable<I, T, S, FP, H, HS>'
356 | : selector_(new S(table.s_)),
| ~~~~~ ^
1 error generated.
Upstream has since rewritten the whole thing in Python.
Perhaps an update is in order.
Approved by: portmgr (build fix blanket)
japanese/kdrill: fix build
This adds a missing parenthesis to $(LOCALBASE).
It is unclear why this hasn't been noticed earlier.
While we are at it, define LICENSE.
Fixes: 2546bd0290761071e3ad392427d7c2ba4e5a396b
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
Sponsored by: Raptor Computing Systems, LLC