devel/electron44: Fix crash on self-spawning with ELECTRON_RUN_AS_NODE=1
The crash was due to incorrectly handled crashpad handler, which is
not supported on FreeBSD. Removing the incorrect patch solved the
problem.
GitHub Issue: https://github.com/tagattie/FreeBSD-Electron/issues/169
Reported by: Wenyin Root <ruojiner at hotmail.com> (via GitHub Issue)
x11/openrgb: Update to 1.0
Also:
- Remove LIB_DEPENDS from BUILD_DEPENDS
- Switch to QT6
- Use a cleaner/predictable GL_TAGNAME
- Remove do-install target to leave the build system install files
- Use a pkg-plist file
- Add more details to pkg-descr
PR: 299149
Approved by: Vidar Karlsen <vidar at karlsen.tech> (maintainer)
lang/swift6: Fix compilation of math functions when using c++ interoperability mode
The following code failed to build if it was compiled with c++
interoperability mode:
```
import Foundation
print(log2(2.0))
```
with the following error:
error: reference to declaration 'log2' broken by a context change; the declaration kind of 'log2' changed since building 'Foundation', it was in 'SwiftGlibc' and now a candidate is found only in 'Foundation'
This commit fixes it.
bhyveload: validate character disk devices
Currently, bhyveload(8) does not validate the supplied disk
image path. For example, it allows passing the /dev/null
device, which later fails in userboot because it does not
support DIOCGSECTORSIZE and DIOCGMEDIASIZE ioctls (see
userdisk_init() in stand/userboot/userboot/userboot_disk.c).
Fix that by checking DIOCGSECTORSIZE and DIOCGMEDIASIZE ioctls early.
A similar check already exists in bhyve(8). While here, make
cb_diskioctl() report the obtained sector size instead of
hard-coding 512.
Reviewed by: markj
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59253
(cherry picked from commit 51234535ddd6ec0afe9dd4e3f34a31b92d5cdd78)
libcasper: tolerate kernels without PD_NOWAITPID
Commit 1a296762b3d0 made libcasper pass PD_NOWAITPID to pdfork(2).
Kernels predating the flag (15.1 and earlier, since the flag first
ships in 15.2) reject it with EINVAL, which makes cap_init() and every
service fork fail when a newer world runs on an older kernel, for
example in a poudriere jail.
Add casper_pdfork(), which retries without the flag on EINVAL, and use
it at both pdfork(2) call sites. The retry is safe because the kernel
validates pdfork flags before creating a child. On such kernels the
zombie must still be reaped with waitpid(2), as before the flag was
introduced.
The fallback is compiled out once __FreeBSD_version reaches 1700000,
so it disappears from main when stable/16 branches while remaining in
the stable/15 and stable/16 branches that need it.
Reviewed by: kib
[3 lines not shown]
databases/pgvector: Upgrade from 0.8.2 to 0.8.7
Changelog for each version:
0.8.7 (2026-10-01)
Fixed buffer overflow with IVFFlat index build
Fixed error with avg aggregate when no matching rows
0.8.6 (2026-07-29)
Fixed buffer overflow with IVFFlat index build on 32-bit systems
Fixed array to sparsevec cast not limiting non-zero elements
Fixed memory usage for IVFFlat index scans with nested loop joins
0.8.5 (2026-07-08)
Reduced memory usage for small tables for IVFFlat index builds
[14 lines not shown]
ufshci: build the ioctl file into the kernel
The passthrough ioctl went into the module build only. A kernel with
device ufshci then failed to link, because ufshci_ctrlr.c calls
ufshci_ioctl_construct() and ufshci_ioctl_destruct() and neither was
compiled in.
Add the file to sys/conf/files.
Fixes: 28fefc441e3b ("ufshci: add a control device node")
Sponsored by: Samsung Electronics
(cherry picked from commit d435248a2196bc78f626850a7ae700aaeace1c13)