FreeBSD/src e6d112bpackages Makefile

packages: Fix clang conditional

Various src.conf options can cause us to build something that ends up
in the clang package, but MK_TOOLCHAIN is not one of them; copy the
proper conditional from lib/Makefile to decide if we need to build
the package.

This fixes the build when LLVM/clang is entirely disabled.

Fixes:  bb75b0d581f7 ("packages: Convert world to a subdir build")
MFC after:      2 weeks
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56657
DeltaFile
+2-1packages/Makefile
+2-11 files

FreeBSD/ports 1793f6dx11/bitmap pkg-descr distinfo

x11/bitmap: Update to 1.1.2

Add WWW and TEST_TARGET.
Update pkg-descr.

https://lists.x.org/archives/xorg-announce/2026-January/003654.html

PR:             294770
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+8-2x11/bitmap/pkg-descr
+3-3x11/bitmap/distinfo
+3-2x11/bitmap/Makefile
+14-73 files

FreeBSD/ports a43dbf6misc/nanocoder pkg-plist distinfo, misc/nanocoder/files package-lock.json

misc/nanocoder: update 1.25.1 → 1.25.2
DeltaFile
+68-68misc/nanocoder/files/package-lock.json
+10-1misc/nanocoder/pkg-plist
+3-3misc/nanocoder/distinfo
+1-1misc/nanocoder/Makefile
+82-734 files

FreeBSD/src 036ff38cddl/lib/libzpool Makefile

libzpool: Set -Wno-error=typedef-redefinition for clang

In some versions of LLVM (at least 21), the <*intrin.h> headers contain
unguarded duplicate typedefs; this isn't permitted prior to C11, and
libzpool is built as C99.  FreeBSD's LLVM backported LLVM PR #153820
to fix this, but other versions of LLVM (e.g., upstream, or on Linux)
don't have the patch, so this breaks the build.

Add -Wno-error=typedef-redefinition to downgrade this from an error
to a warning.

MFC after:      2 weeks
Reviewed by:    dim, emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56653
DeltaFile
+5-0cddl/lib/libzpool/Makefile
+5-01 files

FreeBSD/src b866d05. Makefile.inc1

Makefile.inc1: Always use ${PKG_CMD}

Previously we had a mix of ${PKG_CMD} and bare 'pkg', which is
wrong, and breaks the build when 'pkg' isn't in the tools path,
e.g. when cross-building.

MFC after:      2 weeks
Reviewed by:    wosch, emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56655
DeltaFile
+4-4Makefile.inc1
+4-41 files

FreeBSD/src d455c4b. Makefile.inc1

Makefile.inc1: Use ln -n instead of ln -h

We support both -h and -n, but GNU coreutils only supports -n,
so use that instead.  This fixes the package build on Linux.

MFC after:      2 weeks
Reviewed by:    (wosch, imp) (previous version), emaste
Better fix than the original patch suggested by: jrtc27
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56656
DeltaFile
+1-1Makefile.inc1
+1-11 files

FreeBSD/ports d19aa19x11/libXpm Makefile pkg-descr

x11/libXpm: Update to 3.5.19

Update COMMENT, WWW and pkg-descr.
Add LICENSE_FILE.
Switch from LDFLAGS to USES=localbase:ldflags.
Remove unnecessary GNU_CONFIGURE_MANPREFIX.

https://lists.x.org/archives/xorg-announce/2026-January/003663.html
https://lists.x.org/archives/xorg-announce/2026-April/003691.html

PR:             293154
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
MFH:            2026Q2
Security:       CVE-2026-4367
(cherry picked from commit 9465b60694b49ce81b43eb9e74f57e292daa9181)
DeltaFile
+5-8x11/libXpm/Makefile
+5-1x11/libXpm/pkg-descr
+3-3x11/libXpm/distinfo
+13-123 files

FreeBSD/ports 9465b60x11/libXpm Makefile pkg-descr

x11/libXpm: Update to 3.5.19

Update COMMENT, WWW and pkg-descr.
Add LICENSE_FILE.
Switch from LDFLAGS to USES=localbase:ldflags.
Remove unnecessary GNU_CONFIGURE_MANPREFIX.

https://lists.x.org/archives/xorg-announce/2026-January/003663.html
https://lists.x.org/archives/xorg-announce/2026-April/003691.html

PR:             293154
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
MFH:            2026Q2
Security:       CVE-2026-4367
DeltaFile
+5-8x11/libXpm/Makefile
+5-1x11/libXpm/pkg-descr
+3-3x11/libXpm/distinfo
+13-123 files

FreeBSD/ports 4ede684security/vuxml/vuln 2026.xml

security/vuxml: Add libXpm vulnerability

PR:             293154
Approved by:    osa (mentor)
DeltaFile
+36-0security/vuxml/vuln/2026.xml
+36-01 files

FreeBSD/src 0068c70release/scripts make-pkg-package.sh

make-pkg-package: Add set -e; abort if a cmd fails

This makes it less likely we will silently generate broken artifacts.

Reviewed by:    ivy
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56671
DeltaFile
+2-0release/scripts/make-pkg-package.sh
+2-01 files

FreeBSD/src af7911dsys/dev/ena ena.h

ena: Update driver version to v2.8.3

Features:
* Report RX overrun errors via sysctl hw stats

Bug Fixes:
* Budget rx descriptors, not packets, to fix jumbo frame throughput

Minor Changes:
* pmap_change_attr void * API change for FreeBSD 16.0+
* Adjust ena_[rt]x_cleanup to return bool

MFC after: 2 weeks
Sponsored by: Amazon, Inc.
Differential Revision: https://reviews.freebsd.org/D56641
DeltaFile
+1-1sys/dev/ena/ena.h
+1-11 files

FreeBSD/src e3f4a63sys/dev/ena ena.c ena.h

ena: Report RX overrun errors

Extract rx_overruns from the keep alive descriptor reported by
the device and expose it via sysctl hw stats.

RX overrun errors occur when a packet arrives but there are not
enough free buffers in the RX ring to receive it.

MFC after: 2 weeks
Sponsored by: Amazon, Inc.
Differential Revision: https://reviews.freebsd.org/D56640
DeltaFile
+4-0sys/dev/ena/ena.c
+2-0sys/dev/ena/ena.h
+2-0sys/dev/ena/ena_sysctl.c
+8-03 files

FreeBSD/ports 9647d78archivers/minizip-ng distinfo Makefile

archivers/minizip-ng: Update 4.1.2 => 4.2.1

Changelog:
https://github.com/zlib-ng/minizip-ng/releases/tag/4.2.0
https://github.com/zlib-ng/minizip-ng/releases/tag/4.2.1

Sponsored by:   UNIS Labs
DeltaFile
+3-3archivers/minizip-ng/distinfo
+1-1archivers/minizip-ng/Makefile
+4-42 files

FreeBSD/ports 207111eaudio/shairport-sync distinfo Makefile

audio/shairport-sync: Update to 5.0.3
DeltaFile
+3-3audio/shairport-sync/distinfo
+1-1audio/shairport-sync/Makefile
+4-42 files

FreeBSD/ports 5b05520net-im/deltachat-desktop distinfo Makefile, net-im/deltachat-desktop/files/packagejsons pnpm-lock.yaml pnpm-workspace.yaml

net-im/deltachat-desktop: Update to 2.49.1

MFH:    2026Q2
(cherry picked from commit 9338e4adb8b135737b99c4fcfe711f16fd1875a7)
DeltaFile
+77-77net-im/deltachat-desktop/files/packagejsons/pnpm-lock.yaml
+5-5net-im/deltachat-desktop/distinfo
+2-2net-im/deltachat-desktop/Makefile
+2-2net-im/deltachat-desktop/files/packagejsons/packages/target-electron/package.json
+2-2net-im/deltachat-desktop/files/packagejsons/pnpm-workspace.yaml
+1-1net-im/deltachat-desktop/files/packagejsons/packages/target-tauri/package.json
+89-892 files not shown
+91-918 files

FreeBSD/ports 8d498dbnet/deltachat-rpc-server distinfo Makefile.crates

net/deltachat-rpc-server: Update to 2.49.0

MFH:    2026Q2
(cherry picked from commit 3d8042a8d73213798d7aa867a54504408049a06e)
DeltaFile
+25-25net/deltachat-rpc-server/distinfo
+11-11net/deltachat-rpc-server/Makefile.crates
+1-1net/deltachat-rpc-server/Makefile
+37-373 files

FreeBSD/ports 5541192misc/gemini-cli pkg-plist distinfo, misc/gemini-cli/files package-lock.json

misc/gemini-cli: update 0.38.2 → 0.39.1
DeltaFile
+23-479misc/gemini-cli/files/package-lock.json
+72-359misc/gemini-cli/pkg-plist
+3-3misc/gemini-cli/distinfo
+1-1misc/gemini-cli/Makefile
+99-8424 files

FreeBSD/ports 77f778dmath/py-numba-stats Makefile distinfo

math/py-numba-stats: update 1.11.0 → 1.12.0
DeltaFile
+5-2math/py-numba-stats/Makefile
+3-3math/py-numba-stats/distinfo
+8-52 files

FreeBSD/ports 5246ef1graphics/openusd pkg-plist Makefile, graphics/openusd/files patch-pxr_base_arch_timing.cpp patch-pxr_base_arch_fileSystem.cpp

graphics/openusd: update 25.11 → 26.05
DeltaFile
+60-16graphics/openusd/pkg-plist
+0-40graphics/openusd/files/patch-pxr_base_arch_timing.cpp
+19-7graphics/openusd/Makefile
+12-12graphics/openusd/files/patch-pxr_base_arch_fileSystem.cpp
+9-9graphics/openusd/files/patch-pxr_base_arch_debugger.cpp
+0-16graphics/openusd/files/patch-third__party_renderman-26_plugin_rmanArgsParser_pch.h
+100-1005 files not shown
+105-12711 files

FreeBSD/ports 9fca48daudio/praat distinfo Makefile, audio/praat/files patch-makefiles_makefile.defs.freebsd.alsa

audio/praat: update to 6.4.65, latest upstream

Release notes, as always, at
        https://www.fon.hum.uva.nl/praat/manual/What_s_new_.html

There has been a lot of changes, including possibly AI-speech-detection.
Perhaps that means ML. I have not tested this feature.

JACK was added upstream as a dependency, which
I have removed again in FreeBSD porting.
DeltaFile
+20-0audio/praat/files/patch-makefiles_makefile.defs.freebsd.alsa
+3-3audio/praat/distinfo
+3-1audio/praat/Makefile
+26-43 files

FreeBSD/ports 00c5694Mk/Uses xlibre-cat.mk, x11-drivers/xlibre-xf86-input-synaptics Makefile

x11-servers/xlibre-server: Re-add Glamor SDK API patches.

- Fix path issue on xlibre-xf86-video-amdgpu
- Mk/Uses/xlibre-cat.mk cleanup
- xlibre-xf86-input-synaptics|wacom drivers cleanup due xlibre-cat.mk
  file changes

With hat:       xlibre

(cherry picked from commit 439ad72612af8d38b4280cbbd3c1e3104daffd3f)
DeltaFile
+82-0x11-servers/xlibre-server/files/patch-glamor_glamor.h
+32-38Mk/Uses/xlibre-cat.mk
+60-0x11-servers/xlibre-server/files/patch-glamor__glamor_priv.h
+5-2x11-drivers/xlibre-xf86-video-amdgpu/Makefile
+2-2x11-drivers/xlibre-xf86-input-synaptics/Makefile
+2-2x11-drivers/xlibre-xf86-input-wacom/Makefile
+183-441 files not shown
+184-457 files

FreeBSD/ports 7258400x11-servers/xlibre-server distinfo Makefile.version, x11/nvidia-driver Makefile

x11/{nvidia-driver,slim},x11-servers/xlibre-server: Update XLibre to 25.1.4

With hat:       xlibre

(cherry picked from commit 22ff37dc89e1dd6dc50636ff7a0c0998f6a06271)
DeltaFile
+3-3x11-servers/xlibre-server/distinfo
+1-1x11/nvidia-driver/Makefile
+1-1x11/slim/Makefile
+1-1x11-servers/xlibre-server/Makefile.version
+6-64 files

FreeBSD/ports e6bc88ex11-servers/xlibre-ephyr Makefile, x11-servers/xlibre-server distinfo Makefile.version

x11/{nvidia-driver,slim},x11-{drivers,servers}/*: Update XLibre to 25.1.3

Tested by:      acm@
With hat:       xlibre

(cherry picked from commit 66fef6ebbd7c780c90681c0e09dabbfe5163de6a)
DeltaFile
+3-3x11-servers/xlibre-server/distinfo
+1-1x11-servers/xlibre-server/Makefile.version
+1-1x11-servers/xlibre-vfb/Makefile
+1-1x11/nvidia-driver/Makefile
+1-1x11/slim/Makefile
+1-1x11-servers/xlibre-ephyr/Makefile
+8-82 files not shown
+10-108 files

FreeBSD/src 3219371tests/sys/netinet fibs_test.sh

tests/fibs_test: unskip udp_dontroute6 testcase

This test now consistently passes (300+ consecutive runs).

Approved by:    lwhsu (mentor)
Signed-off-by:  Siva Mahadevan <me at svmhdvn.name>
PR:             244172
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit e93e57d3da2ea54598b5db01cc12a3acd656faba)
DeltaFile
+0-3tests/sys/netinet/fibs_test.sh
+0-31 files

FreeBSD/ports af9d567net/eturnal Makefile

net/eturnal: bump port after lang/erlang update

PR:             290976
Approved by:    portmgr (build fix blanket)
Sponsored by:   SkunkWerks, GmbH
DeltaFile
+1-1net/eturnal/Makefile
+1-11 files

FreeBSD/src 4846afcrelease/scripts pkg-stage.sh

pkg-stage: Improve symlink creation

Invoke ln with -n and -f.  In normal use it doesn't matter, but during
development this might be run in a partially populated leftover tree.

Reviewed by:    ivy
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52883
DeltaFile
+2-2release/scripts/pkg-stage.sh
+2-21 files

FreeBSD/src 43e7448sys/fs/fuse fuse_vnops.c fuse_node.c

fusefs: better handling for low-memory conditions

Under conditions of low memory, getblk can fail.  fusefs was not
handling those failures very systematically.  It was always using
PCATCH, which appears to have been originally copy/pasted from the NFS
client code, but isn't always appropriate:

* During fuse_vnode_setsize_immediate, which can be called from many
  different VOPs and from the vn_delayed_setsize mechanism, remove
  PCATCH.  Some of these callers cannot tolerate allocate failure.

* In fuse_inval_buf_range, don't assume that getblk will always succeed.

* When calling fuse_inval_buf_range from VOP_ALLOCATE,
  VOP_COPY_FILE_RANGE, or VOP_WRITE (with IO_DIRECT), return EINTR if
  the allocation fails.

* When calling fuse_inval_buf_range from VOP_DEALLOCATE, remove PCATCH.
  This VOP must not fail with EINTR.

    [8 lines not shown]
DeltaFile
+17-7sys/fs/fuse/fuse_vnops.c
+1-5sys/fs/fuse/fuse_node.c
+18-122 files

FreeBSD/src fac95c7lib/libsys pdfork.2

pdfork.2: correct pdrfork's HISTORY section

Since pdrfork will be included in FreeBSD 15.1

Reviewed by:    kib
Differential Revision: https://reviews.freebsd.org/D56513

(cherry picked from commit 9d39213d222395eb40323102db018cbedf773ddf)
DeltaFile
+2-2lib/libsys/pdfork.2
+2-21 files

FreeBSD/src ea27ec1tools/build/options makeman.lua

makeman.lua: Downgrade `make showconfig` error to warning

The sh-based makeman silently ignored errors from `make showconfig`.
Ignore errors also from makeman.lua (but emit a warning).

We may want to revisit this in the future, but want makeman.lua to
behave identically for now.

PR:             294822
Reviewed by:    kevans
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56663
DeltaFile
+4-1tools/build/options/makeman.lua
+4-11 files

FreeBSD/ports c04bae0net/hostapd210 Makefile

net/hostapd210: Deprecate and expire

No longer supported by upstream.
DeltaFile
+3-0net/hostapd210/Makefile
+3-01 files