FreeBSD/src dafba19contrib/less less.nro screen.c

MFV less v691

Relnotes:       yes
MFC after:      2 weeks
DeltaFile
+1,013-472contrib/less/less.nro
+337-149contrib/less/screen.c
+215-142contrib/less/lesskey.nro
+106-50contrib/less/mark.c
+80-56contrib/less/cmdbuf.c
+69-67contrib/less/option.c
+1,820-93643 files not shown
+2,654-1,38749 files

FreeBSD/ports 0610453devel/py-yamllint distinfo Makefile, devel/py-yamllint/files patch-pyproject.toml

devel/py-yamllint: update to 1.38.0

Add patches around our lack of a recent py-setuptools

Changes:        https://github.com/adrienverge/yamllint/blob/v1.38.0/CHANGELOG.rst
Reported by:    repology
DeltaFile
+20-0devel/py-yamllint/files/patch-pyproject.toml
+3-3devel/py-yamllint/distinfo
+1-1devel/py-yamllint/Makefile
+24-43 files

FreeBSD/src 69f5355. RELNOTES

RELNOTES:  Add entry for 7f54c65abc67
DeltaFile
+7-0RELNOTES
+7-01 files

FreeBSD/ports 6d3bb9bdevel/py-types-jsonschema distinfo Makefile, devel/py-types-jsonschema/files patch-pyproject.toml

textproc/py-rich: update to 14.3.2

Changes:        https://github.com/Textualize/rich/blob/v14.3.2/CHANGELOG.md
Reported by:    repology
DeltaFile
+3-3devel/py-types-jsonschema/distinfo
+2-2devel/py-types-jsonschema/files/patch-pyproject.toml
+1-1devel/py-types-jsonschema/Makefile
+6-63 files

FreeBSD/ports 4668fe3textproc/py-rich distinfo Makefile

textproc/py-rich: update to 14.3.2

Changes:        https://github.com/Textualize/rich/blob/v14.3.2/CHANGELOG.md
Reported by:    repology
DeltaFile
+3-3textproc/py-rich/distinfo
+1-1textproc/py-rich/Makefile
+4-42 files

FreeBSD/src 32c3723tests/sys/netgraph ksocket.c

tests/netgraph: fix tests that depended on connect(in6addr_any)

Fixes:  627e126dbb07b167b028380ef61bb45f10493938
DeltaFile
+3-0tests/sys/netgraph/ksocket.c
+3-01 files

FreeBSD/ports 4d6a050devel Makefile, devel/py-spin Makefile pkg-descr

devel/py-spin: Add new port

Scientific Python INcantations (spin) is a developer tool
for scientific Python libraries.

https://pypi.python.org/pypi/spin
DeltaFile
+23-0devel/py-spin/Makefile
+4-0devel/py-spin/pkg-descr
+3-0devel/py-spin/distinfo
+1-0devel/Makefile
+31-04 files

FreeBSD/src a8e9219sys/fs/devfs devfs_vnops.c

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
DeltaFile
+20-0sys/fs/devfs/devfs_vnops.c
+20-01 files

FreeBSD/ports 614cec6devel/kBuild Makefile distinfo, devel/kBuild/files patch-src_kmk_getopt.h patch-src_kmk_glob_fnmatch.c

devel/kBuild: Update 0.1.9998r3660 => 0.1.9998r3687, fix build with GCC 15

Commit log:
https://trac.netlabs.org/kbuild/changeset?reponame=&new=3687%40trunk&old=3660%40trunk

PR:     292692 292801
DeltaFile
+13-18devel/kBuild/Makefile
+11-0devel/kBuild/files/patch-src_kmk_getopt.h
+11-0devel/kBuild/files/patch-src_kmk_glob_fnmatch.c
+11-0devel/kBuild/files/patch-src_oldsed_lib_getopt.h
+3-3devel/kBuild/distinfo
+2-0devel/kBuild/pkg-plist
+51-216 files

FreeBSD/ports ad610cfaudio/rubberband/files patch-src_common_mathmisc.h

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]
DeltaFile
+10-0audio/rubberband/files/patch-src_common_mathmisc.h
+10-01 files

FreeBSD/ports 78992d8audio/rubberband/files patch-src_common_mathmisc.h

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
DeltaFile
+10-0audio/rubberband/files/patch-src_common_mathmisc.h
+10-01 files

FreeBSD/ports dcdd548devel/llvm-cheri distinfo Makefile.snapshot

devel/llvm-cheri: new snapshot

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm-cheri/distinfo
+2-2devel/llvm-cheri/Makefile.snapshot
+5-52 files

FreeBSD/ports 75ec43cdevel/llvm-morello distinfo Makefile.snapshot

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
DeltaFile
+3-3devel/llvm-morello/distinfo
+2-2devel/llvm-morello/Makefile.snapshot
+5-52 files

FreeBSD/ports 7c32287devel/llvm22 distinfo Makefile

devel/llvm22: 22.1.0 RC2

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm22/distinfo
+1-1devel/llvm22/Makefile
+4-42 files

FreeBSD/ports 8fd03ddgraphics/gegl Makefile, x11/babl Makefile

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
DeltaFile
+4-2graphics/gegl/Makefile
+1-1x11/babl/Makefile
+5-32 files

FreeBSD/ports 0e43143. UPDATING, www/bluefish distinfo pkg-plist

www/bluefish: Update to 2.4.0

ChangeLog: https://sourceforge.net/p/bluefish/code/HEAD/tree/tags/bluefish_2_4_0/ChangeLog
DeltaFile
+11-0UPDATING
+3-3www/bluefish/distinfo
+5-0www/bluefish/pkg-plist
+1-1www/bluefish/Makefile
+20-44 files

FreeBSD/src 9e0fe12sys/i386/i386 swtch.S

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
DeltaFile
+1-3sys/i386/i386/swtch.S
+1-31 files

FreeBSD/ports 82b0a20emulators/flycast distinfo Makefile, emulators/flycast/files patch-CMakeLists.txt patch-core_rend_vulkan_vulkan__context.cpp

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
DeltaFile
+25-2emulators/flycast/files/patch-CMakeLists.txt
+15-9emulators/flycast/distinfo
+10-9emulators/flycast/Makefile
+2-10emulators/flycast/files/patch-core_rend_vulkan_vulkan__context.cpp
+11-0emulators/flycast/files/patch-core_sdl_dreampicoport.cpp
+63-305 files

FreeBSD/ports f4ae815devel/air-go distinfo Makefile

devel/air-go: Update to 1.64.5
DeltaFile
+5-5devel/air-go/distinfo
+1-1devel/air-go/Makefile
+6-62 files

FreeBSD/src f7144a9sys/sys sdt.h

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
DeltaFile
+4-0sys/sys/sdt.h
+4-01 files

FreeBSD/src 04911bausr.sbin/ngctl main.c ngctl.8

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]
DeltaFile
+39-6usr.sbin/ngctl/main.c
+23-2usr.sbin/ngctl/ngctl.8
+5-0usr.sbin/ngctl/Makefile
+67-83 files

FreeBSD/src 9280324sys/dev/ipmi ipmi_linux.c

ipmi: Migrate to use macro LINUX_IOCTL_SET to register linux ioctl handler

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53158

(cherry picked from commit cb0116af7ac794238b0fa569f2722607924fcad6)
(cherry picked from commit 0b0ddadf39f6499e4b8ef250023b6d7e68c7e2b0)
DeltaFile
+1-9sys/dev/ipmi/ipmi_linux.c
+1-91 files

FreeBSD/src 7621b6esys/dev/mrsas mrsas_linux.c

mrsas: Migrate to use macro LINUX_IOCTL_SET to register linux ioctl handler

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53158

(cherry picked from commit 0a2fb63b4954c540686d387254b65cc6878bd19e)
(cherry picked from commit 3aa4ae2006b50018d9dfa660bcbba1041c104ee1)
DeltaFile
+1-9sys/dev/mrsas/mrsas_linux.c
+1-91 files

FreeBSD/src 44dfedesys/dev/mfi mfi_linux.c

mfi: Migrate to use macro LINUX_IOCTL_SET to register linux ioctl handler

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53158

(cherry picked from commit d12ce84b0d338958b26f6eec86b4967fca8d3bd6)
(cherry picked from commit 270b9f2a4888b19b8434a831effa3c8426dbb934)
DeltaFile
+1-9sys/dev/mfi/mfi_linux.c
+1-91 files

FreeBSD/src 352c1e0sys/dev/aacraid aacraid_linux.c

aacraid: Migrate to use macro LINUX_IOCTL_SET to register linux ioctl handler

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53158

(cherry picked from commit ff29e5bc53e6fafc49d1caceed88cbc9e9223189)
(cherry picked from commit e5d4314fce5a8c1dcc8a01f41858fa115d4f2fb6)
DeltaFile
+1-9sys/dev/aacraid/aacraid_linux.c
+1-91 files

FreeBSD/src 5004b38sys/compat/linux linux_ioctl.h, sys/dev/tdfx tdfx_linux.h tdfx_linux.c

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)
DeltaFile
+12-0sys/compat/linux/linux_ioctl.h
+0-12sys/dev/tdfx/tdfx_linux.h
+1-1sys/dev/tdfx/tdfx_linux.c
+13-133 files

FreeBSD/src e36e175sys/amd64/sgx sgx_linux.c

sgx: Migrate to use macro LINUX_IOCTL_SET to register linux ioctl handler

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53158

(cherry picked from commit 8350f46d9808e6183d5f6bd4aa73d4d4e563b574)
(cherry picked from commit 957babc65d9f9a5d44fefb0c1169682ae599954b)
DeltaFile
+1-10sys/amd64/sgx/sgx_linux.c
+1-101 files

FreeBSD/src d6bc614sys/dev/aac aac_linux.c

aac: Migrate to use macro LINUX_IOCTL_SET to register linux ioctl handler

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53158

(cherry picked from commit db1844a0e1bcafeb974215033ed682e7fa18cac8)
(cherry picked from commit 7e9fe8e6a1966f559b7985caca7e7c0e19a3f10e)
DeltaFile
+1-9sys/dev/aac/aac_linux.c
+1-91 files

FreeBSD/src 03d8ac9crypto/heimdal/kdc mit_dump.c

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
DeltaFile
+1-1crypto/heimdal/kdc/mit_dump.c
+1-11 files

FreeBSD/src 7f54c65sys/dev/smartpqi smartpqi_ioctl.c smartpqi_defines.h

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]
DeltaFile
+199-0sys/dev/smartpqi/smartpqi_ioctl.c
+8-3sys/dev/smartpqi/smartpqi_defines.h
+8-1sys/dev/smartpqi/smartpqi_ioctl.h
+6-2sys/dev/smartpqi/smartpqi_controllers.h
+3-1sys/dev/smartpqi/smartpqi_helper.c
+2-2sys/dev/smartpqi/smartpqi_queue.c
+226-910 files not shown
+237-1916 files