x11/cde*: Work around bus errors and looping CDE apps
-O2 optimization is too aggressive for CDE. Scaling it back to -O
eliminates bus errors on some systems and dtcalc looping with the
error, *** M .LE. T IN CALL TO MPCHK.
Reported by: Jeremy Doolin <jrdoolin at pm.me>
MFH: 2026Q2
libc/tests/string: add a more comprehensive unit test for strrchr()
The unit tests are patterned after those for memrchr().
This catches the issue found in 293915.
PR: 293915
Reviewed by: strajabot
Reported by: safonov.paul at gmail.com
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D56037
lualoader: allow the local module to filter out the BE list
This allows something like the following local.lua to install a filter
to implement its own notion of hidden BEs using a naming convention of
a leading dot to hide them:
-- file: /boot/lua/local.lua
local core = require("core")
local function be_hide(be)
if core.isSingleUserBoot() then
-- All BEs are accepted for single-user
return true
end
local name = be:match("/([^/]+)$")
if not name then
-- Accept malformed BEs, for whatever reason
return true
[15 lines not shown]
www/qt6-webengine: fix running under wayland
When starting, chromium calls GpuFence::Wait() which was not implemented
on FreeBSD, on linux is calls sync_wait which does not exist on FreeBSD.
Hopefully drm sync fence fds do support polling and it seems to do the
trick.
While here tell chromium we don't have sync_fence_info() so it does not
try to go further at the risk of reaching another NOTREACH() which would
trigger a crash
PR: 287599
stat: Nits in readlink tests
* The f_flag test may fail if a component of the full path to the
temporary directory is a symbolic link.
* The n_flag test had an empty head; give it a description.
* Use consistent quoting.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D56293
sysutils/podman: Fix panic when using network=host
If using host-based networking, instead of default VNET, some podman commands
including inspect could fail:
podman run -d --network=host ghcr.io/freebsd/freebsd-notoolchain:15.0 /bin/sh
podman inspect --latest
See https://github.com/containers/podman/issues/28289 for details.
While here, appease portclippy & portfmt
Reviewed by: dfr
Obtained from: dfr
Sponsored by: SkunkWerks, GmbH
sysutils/conmon: Move the conn_sock.c patch to the right place
Somehow I managed to commit the patch to
sysutils/conmon/sysutils/conmon/files instead of sysutils/conmon/files.