rc.d/dumpon: minor hardening/tightening up
- Scope local variables properly to each function.
- Quote variables that should be treated as single words.
- Replace `${cmd}; if [ $? -eq 0 ]` with `if ${cmd}` for simplicity.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D57899
amd64 efirt: register all runtime regions as fictitious
This is needed for VM_PHYS_TO_PAGE() to work, which is needed for
pmap_map_io_transient() to work, which is needed for uiomove_fromphys()
to work.
PR: 296348
Reported and tested by: Anton Saietskii <vsasjason at gmail.com>
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D58274
chinese/opencc: Upgrade from 1.3.1 to 1.4.1.
Changes in this update:
- Enable the Jieba segmentation plugin via a new JIEBA option (default on).
- OpenCC now requires C++17: USES compiler:c++11-lib -> c++17-lang.
- Regenerate files/patch-CMakeLists.txt for the reorganized upstream tree.
- Add files/patch-cmake_GitVersion.cmake so the release tarball (which
ships without Git metadata) reports 1.4.1 instead of 1.4.0.
Obtained from upstream commit c23e743702f4.
PR: ports/296829
Approved by: maintainer
devel/juce{,706}: fix build on armv7
juce_BasicNativeHeaders.h pulls in <sys/user.h> which in turn pulls in
<machine/atomic.h> transitively, which then defines a mb macro polluting
the name space. <sys/user.h> is only needed for struct kproc_info,
which is only needed in juce_SystemStats_linux.cpp to check for
P_TRACED. Remove <sys/user.h> from juce_BasicNativeHeaders.h and only
include it in juce_SystemStats_linux.cpp to avoid namespace pollution
issues.
I'll try to tackle the other ports using or bundling JUCE in a future
commit. As always, please try to unbundle dependencies if possible.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
PR: 283492
(cherry picked from commit a28798f49247eefdcee26258cf40071a8e0b8a8d)
audio/giada: fix build on armv7
This port bundles a copy of JUCE.
juce_BasicNativeHeaders.h pulls in <sys/user.h> which in turn pulls in
<machine/atomic.h> transitively, which then defines a mb macro polluting
the name space. <sys/user.h> is only needed for struct kproc_info,
which is only needed in juce_SystemStats_linux.cpp to check for
P_TRACED. Remove <sys/user.h> from juce_BasicNativeHeaders.h and only
include it in juce_SystemStats_linux.cpp to avoid namespace pollution
issues.
As always, please try to unbundle dependencies if possible.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
PR: 283492
(cherry picked from commit f56d3d4490d1b17f14df8649c01b00713fe5aa4c)
audio/libopenshot-audio: patch armv7 build issue properly
juce_BasicNativeHeaders.h pulls in <sys/user.h> which in turn pulls in
<machine/atomic.h> transitively, which then defines a mb macro polluting
the name space. <sys/user.h> is only needed for struct kproc_info,
which is only needed in juce_SystemStats_linux.cpp to check for
P_TRACED. Remove <sys/user.h> from juce_BasicNativeHeaders.h and only
include it in juce_SystemStats_linux.cpp to avoid namespace pollution
issues.
I'll try to tackle the other ports using or bundling JUCE in a future
commit. As always, please try to unbundle dependencies if possible.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
PR: 283492
(cherry picked from commit 3a7ad3ed54851dd27d5ed8a65c8aa77b246c5472)
graphics/gowall: fix build on armv7
Same issue as on i386, probably also applies to powerpc.
The patch could be applied unconditionally.
An upstream bug report was filed.
While we are at it, exclude option ONNX on i386 as the port
misc/onnx-runtime required for this option to work is currently
broken there.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
See also: https://github.com/gen2brain/go-fitz/issues/152
(cherry picked from commit 2bf74addd2ca6d695d4d34ac68455b7c3c2f524f)
devel/juce{,706}: fix build on armv7
juce_BasicNativeHeaders.h pulls in <sys/user.h> which in turn pulls in
<machine/atomic.h> transitively, which then defines a mb macro polluting
the name space. <sys/user.h> is only needed for struct kproc_info,
which is only needed in juce_SystemStats_linux.cpp to check for
P_TRACED. Remove <sys/user.h> from juce_BasicNativeHeaders.h and only
include it in juce_SystemStats_linux.cpp to avoid namespace pollution
issues.
I'll try to tackle the other ports using or bundling JUCE in a future
commit. As always, please try to unbundle dependencies if possible.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
PR: 283492
audio/libopenshot-audio: patch armv7 build issue properly
juce_BasicNativeHeaders.h pulls in <sys/user.h> which in turn pulls in
<machine/atomic.h> transitively, which then defines a mb macro polluting
the name space. <sys/user.h> is only needed for struct kproc_info,
which is only needed in juce_SystemStats_linux.cpp to check for
P_TRACED. Remove <sys/user.h> from juce_BasicNativeHeaders.h and only
include it in juce_SystemStats_linux.cpp to avoid namespace pollution
issues.
I'll try to tackle the other ports using or bundling JUCE in a future
commit. As always, please try to unbundle dependencies if possible.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
PR: 283492
audio/giada: fix build on armv7
This port bundles a copy of JUCE.
juce_BasicNativeHeaders.h pulls in <sys/user.h> which in turn pulls in
<machine/atomic.h> transitively, which then defines a mb macro polluting
the name space. <sys/user.h> is only needed for struct kproc_info,
which is only needed in juce_SystemStats_linux.cpp to check for
P_TRACED. Remove <sys/user.h> from juce_BasicNativeHeaders.h and only
include it in juce_SystemStats_linux.cpp to avoid namespace pollution
issues.
As always, please try to unbundle dependencies if possible.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
PR: 283492
graphics/gowall: fix build on armv7
Same issue as on i386, probably also applies to powerpc.
The patch could be applied unconditionally.
An upstream bug report was filed.
While we are at it, exclude option ONNX on i386 as the port
misc/onnx-runtime required for this option to work is currently
broken there.
Approved by: portmgr (build fix blanket)
MFH: 2026Q3
See also: https://github.com/gen2brain/go-fitz/issues/152
nd6: Add router address and DHCPv6-PD flags in PIO headers
Make R-bit per RFC 6275 8.3 and P-bit per RFC 9762 7.1 in
Prefix Information option available to userland for future implementations.
RFC 9762 7.1: For each interface, the client MUST keep a list of every prefix
that was received from a PIO with the P flag set and currently has a non-zero
preferred lifetime.
Differential Revision: https://reviews.freebsd.org/D56207
audio/mpz: update the port to version 2.0.14 (transient)
- The last version which comes with traditional icon set
- Wrap one line to fit the standard 80x25 terminal width
PR: 296248
Reported by: portscout