devel/py-spin: Add new port
Scientific Python INcantations (spin) is a developer tool
for scientific Python libraries.
https://pypi.python.org/pypi/spin
devfs: unlock the directory vnode around the call to dev_clone handler
The lock around dev_clone is unfortunate because cloner might need to
take its own locks that establish the order with devfs vnodes, and then
transiently participates in further VFS locks order. For instance, this
way the proctree_lock or allproc_lock become involved.
Unlock dvp, we can unwind if the vnode become doomed while cloner was
called.
Reported and tested by: pho
Reviewed by: kevans, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D55028
audio/rubberband: fix build with libc++ 21
With libc++ 21 audio/rubberband fails to build, with errors similar to:
In file included from ../src/common/mathmisc.cpp:24:
../src/common/mathmisc.h:58:1: error: unknown type name 'size_t'; did you mean 'std::size_t'?
58 | size_t roundUp(size_t value); // to nearest power of two
| ^~~~~~
| std::size_t
/usr/include/c++/v1/__cstddef/size_t.h:20:7: note: 'std::size_t' declared here
20 | using size_t = decltype(sizeof(int));
| ^
This is because mathmisc.h depended on <stddef.h> being transitively
included, which is no longer the case. Add #include <stddef.h> to fix
the problem.
PR: 292868
Approved by: acm (maintainer)
[3 lines not shown]
audio/rubberband: fix build with libc++ 21
With libc++ 21 audio/rubberband fails to build, with errors similar to:
In file included from ../src/common/mathmisc.cpp:24:
../src/common/mathmisc.h:58:1: error: unknown type name 'size_t'; did you mean 'std::size_t'?
58 | size_t roundUp(size_t value); // to nearest power of two
| ^~~~~~
| std::size_t
/usr/include/c++/v1/__cstddef/size_t.h:20:7: note: 'std::size_t' declared here
20 | using size_t = decltype(sizeof(int));
| ^
This is because mathmisc.h depended on <stddef.h> being transitively
included, which is no longer the case. Add #include <stddef.h> to fix
the problem.
PR: 292868
Approved by: acm (maintainer)
MFH: 2026Q1
devel/llvm-morello: new snapshot
Includes a fix for a bug (padding of globals in hybrid mode) that
prevented compiling a working FreeBSD aarch64 system.
Sponsored by: DARPA, AFRL
graphics/gegl: disable relocatable
On discussing with upstream, "relocatable" does not mean ELF
relocation. Currently enabling the feature causes GIMP and other
consumers build and runtime failures.
While here, update comment in x11/babl due to similar architecture.
Reported by: Tatsuki Makino
i386: Fix build and remove empty unused macro
When inlining the macro, reg was not substituted with the %ecx argument
previously passed in. One of the definitions was also left behind as an
empty macro.
PR: 292883
Fixes: 377c053a43f3 ("cpu_switch(): unconditionally wait on the blocked mutex transient")
MFC after: 1 week
emulators/flycast: Update 2.5 => 2.6
Changelog:
https://github.com/flyinghead/flycast/releases/tag/v2.6
* Update git submodules to latest release versions and reorder them into
alphabetical sequence.
* Remove set-include in vulkan_context.cpp patch because it's now in
upstream.
* Make slight simplification in post-install-DOCS-on.
PR: 292421
sdt: Use the "cc" operand modifier for the address of probes for GCC 15+
This is required for GCC on RISC-V. The GCC 15 docs claim that "cc" is
similar to "c" except that it "tries harder".
NB: I have not yet found a way to make the DTrace probes compile on
RISC-V with older versions of GCC.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54964
netgraph: teach ngctl to attach and run itself in a jail
Add -j <jail> flag to ngctl to allow ngctl to attach and run inside
a jail. This allow parent to manipulate netgraph nodes in the jail
even if ngctl is not available.
Submitted by: David Marker <dave_freedave.net>
Reviewed by: kevans, zlei, jamie
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D50241
(cherry picked from commit 72d01e62b082de39ecf1ff3ced67dcf7259e5084)
ngctl: Fix build without JAIL
Reported by: Michael Dexter
Fixes: 72d01e62b082 netgraph: teach ngctl to attach and run itself in a jail
MFC after: 1 day
[2 lines not shown]
linux: Make the macro LINUX_IOCTL_SET public
There're some other drivers want to register and unregister linux
ioctl handler. Move the macro LINUX_IOCTL_SET from tdfx_linux.h to
linux_ioctl.h so that they can also benefit it.
While here, rename the declaration of linux ioctl function to be
consistent with the name of the handler.
Meanwhile, drop a comment about the macro, since its function is
obvious.
Reviewed by: markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D53158
(cherry picked from commit 790c27317ec1a997a4e5c2bdee9e4acc610c8e3c)
(cherry picked from commit 087e77b52399b8a64bb7a12979322d6027bf550b)
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
smartpqi: Update to vendor version 14.4690.0.2008 - 15.2.0.2008
Update to versions:
FreeBSD14 14.4690.2008
FreeBSD15 15.2.0.2008
Included in this update are:
- Support for new controllers
- Add code that utilizes the new BIG_IOCTL_Command_struct and allows
the I/O buffer size for a single passthrough ioctl to be stored as a
32 bit integer instead of the original 16 bit integer.
- Update occurrences of Microsemi to Microchip
- Some format changes including converting comments from C++ to C
style, remove instances of /* $FreeBSD$ */, and updating copyright
dates.
Update to versions:
FreeBSD14 14.4690.2008
FreeBSD15 15.2.0.2008
[22 lines not shown]