FreeBSD/src 9c8bcddsys/modules/hwpmc Makefile

hwpmc: build hwpmc_rapl.c into the i386 module

The module's i386 source list compiles the files that call
pmc_rapl_initialize() and pmc_rapl_finalize() but not the one that defines
them, so the i386 hwpmc.ko has both undefined and cannot be loaded.

Fixes:          a99d04f39dab ("hwpmc: add RAPL energy-counter class (AMD + Intel)")
Assisted-by:    Claude Code (Opus 5)
DeltaFile
+1-0sys/modules/hwpmc/Makefile
+1-01 files

FreeBSD/src d2e7fcbsys/dev/hwpmc hwpmc_rapl.c

hwpmc: do not register RAPL when the unit register reads as zero

An energy status unit of zero means one joule per raw tick, which no part
reports; it is what a hypervisor returns for an MSR it does not implement.
Both energy rows are scaled by that field, so the class would be
registered with counters that read zero forever.

Refuse it, as the class is already refused when no energy MSR responds.

Assisted-by:    Claude Code (Opus 5)
DeltaFile
+5-0sys/dev/hwpmc/hwpmc_rapl.c
+5-01 files

FreeBSD/src 469727fsys/dev/hwpmc hwpmc_rapl.c

hwpmc: probe the RAPL unit MSR instead of faulting on it

The RAPL probe read MSR_RAPL_POWER_UNIT with a bare rdmsr().  RAPL is not
enumerated by CPUID on either vendor and the register is absent on older
Intel and AMD parts and under a hypervisor that does not emulate it, so
the read raises #GP and loading hwpmc panics the machine.

Read it with rdmsr_safe() and return ENXIO when it is not there, as this
function already does for the energy MSRs.  Both callers already drop the
class when the probe fails.

Fixes:          a99d04f39dab ("hwpmc: add RAPL energy-counter class (AMD + Intel)")
Assisted-by:    Claude Code (Opus 5)
DeltaFile
+2-1sys/dev/hwpmc/hwpmc_rapl.c
+2-11 files

LLVM/project fe0143bclang/tools/clang-format git-clang-format

[git-clang-format] Don't format the line preceding a deletion (#215946)

`git diff -U0` renders a pure deletion as `@@ -3,3 +2,0 @@`: no new
lines,
anchored at the preceding line. extract_lines coerces that zero count to
one, so clang-format reformats a line the deletion never touched.

Skip such hunks, matching clang-format-diff.py. start_line is 0 only for
deletions at the start of a file, so that check goes away as well.

Aided by Claude Opus 5
DeltaFile
+3-2clang/tools/clang-format/git-clang-format
+3-21 files

FreeBSD/ports 1fb96e4misc/codex Makefile.crates distinfo, misc/codex/files patch-cargo-crates_v8-150.4.0_third__party_libc++_src_include_____locale__dir_support_bsd__like.h patch-cargo-crates_v8-150.4.0_build_config_compiler_BUILD.gn

misc/codex: Update to 0.149.0

While here, update notify crate to commit
48415246732dc426577684bf03c558579cf0b081 to avoid codex from opening a
large number of file descriptors.

Changelog:
- https://github.com/openai/codex/releases/tag/rust-v0.147.0
- https://github.com/openai/codex/releases/tag/rust-v0.148.0
- https://github.com/openai/codex/releases/tag/rust-v0.149.0

PR:             297118
Reported by:    delleceste at gmail.com
Obtained from:  https://cgit.freebsd.org/ports/tree/www/chromium?id=51792f0ba744f54016e5394e3fd3033a513eadb0 (patches for v8 crate),
                https://github.com/openbsd/ports/tree/aea1f7950f97bcb7add6a82d3a0de2f161d42a12/devel/codex (patches for v8 crate),
                lwhsu (patches for notify crate)
DeltaFile
+181-83misc/codex/distinfo
+0-175misc/codex/files/patch-cargo-crates_v8-149.2.0_build_config_compiler_BUILD.gn
+134-0misc/codex/files/patch-codex-rs_Cargo.lock
+90-41misc/codex/Makefile.crates
+125-0misc/codex/files/patch-cargo-crates_v8-150.4.0_build_config_compiler_BUILD.gn
+99-0misc/codex/files/patch-cargo-crates_v8-150.4.0_third__party_libc++_src_include_____locale__dir_support_bsd__like.h
+629-299123 files not shown
+2,732-1,041129 files

FreeBSD/ports bfcdd5cemulators/wine-mono-devel Makefile distinfo

emulators/wine-mono-devel: Update to version 11.3.0
DeltaFile
+3-3emulators/wine-mono-devel/distinfo
+1-1emulators/wine-mono-devel/Makefile
+4-42 files

FreeBSD/ports b29f9e9sysutils Makefile, sysutils/zpool-set distinfo pkg-descr

sysutils/zpool-set: New port: Terminal UI and CLI for ZFS pool properties
DeltaFile
+34-0sysutils/zpool-set/Makefile
+12-0sysutils/zpool-set/pkg-descr
+5-0sysutils/zpool-set/distinfo
+1-0sysutils/Makefile
+52-04 files

FreeBSD/ports 69b304fsysutils Makefile, sysutils/zfs-allow distinfo pkg-descr

sysutils/zfs-allow: New port: Terminal UI and CLI for ZFS delegated administration
DeltaFile
+34-0sysutils/zfs-allow/Makefile
+11-0sysutils/zfs-allow/pkg-descr
+5-0sysutils/zfs-allow/distinfo
+1-0sysutils/Makefile
+51-04 files

FreeBSD/ports 554b5e2sysutils Makefile, sysutils/zfs-set distinfo pkg-descr

sysutils/zfs-set: New port: Terminal UI and CLI for ZFS dataset properties
DeltaFile
+34-0sysutils/zfs-set/Makefile
+14-0sysutils/zfs-set/pkg-descr
+5-0sysutils/zfs-set/distinfo
+1-0sysutils/Makefile
+54-04 files

LLVM/project ea3bbd5llvm/lib/Target/RISCV RISCVExpandPseudoBase.cpp RISCVExpandPseudoBase.h

[RISCV][NFCI] Introduce Base for Pseudo Expansion Passes (#218170)

This introduces a base class for the Pseudo Instruction Expansion Pass
Implementations, which shares the boiler plate that ensures the function
size estimate does not grow during expansion.

This also makes many of those methods `const`, to more clearly
illustrate how the Impl class works - that per-instruction info is
mostly passed as parameters and not stored in the class members.

This is used to simplify all four of the Pseudo Instruction Expansion
passes. Additionally, many static functions in the Atomic Expand pass
are moved onto the Impl class, so they can directly access the subtarget
and instruction info.

Assisted-by: AI
DeltaFile
+127-155llvm/lib/Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp
+42-105llvm/lib/Target/RISCV/RISCVPreRAExpandPseudoInsts.cpp
+42-83llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
+26-47llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp
+61-0llvm/lib/Target/RISCV/RISCVExpandPseudoBase.h
+59-0llvm/lib/Target/RISCV/RISCVExpandPseudoBase.cpp
+357-3901 files not shown
+358-3907 files

FreeBSD/src 790817fsys/netinet in_fib_algo.c, sys/netinet6 in6_fib_algo.c

route/fib_algo: Free leaked radix_masks in radix_lockless

radix_lockless algorithm creates its own radix tree and
allocates its own radix_masks by directly calling rnh_addaddr().
However, during destruction, it only frees the radix_tree without
freeing its allocated radix_masks.
Fix the leak by calling rn_delete() during radix_destroy().

PR:             297339
Reviewed by:    melifaro
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D59112
DeltaFile
+13-2sys/netinet6/in6_fib_algo.c
+12-1sys/netinet/in_fib_algo.c
+25-32 files

NetBSD/pkgsrc-wip e822bc9kubectl Makefile COMMIT_MSG

kubectl: update to 1.36.4

Bug or Regression

* Update golang.org/x/text and golang.org/x/net dependencies to include
  security updates [SIG API Machinery, Architecture, Auth, CLI, Cloud
  Provider, Cluster Lifecycle, Instrumentation, Network, Node, Scheduling,
  Security and Storage]
DeltaFile
+57-57kubectl/distinfo
+18-18kubectl/go-modules.mk
+1-1kubectl/Makefile
+1-1kubectl/COMMIT_MSG
+77-774 files

LLVM/project 2249530.github/workflows/upload-release-artifact action.yml

workflows/upload-release-artifact: Remove template expansion (#216872)

https://github.com/llvm/llvm-project/security/code-scanning/2290
DeltaFile
+2-1.github/workflows/upload-release-artifact/action.yml
+2-11 files

LLVM/project ec5c918clang/lib/Interpreter IncrementalParser.cpp, clang/test/Interpreter extern-c-error-recovery.cpp

[clang-repl] Don't double-remove extern "C" decls from the IdResolver (#218129)

Regression was introduced in https://github.com/llvm/llvm-project/pull/178648

This is required for the 23 release; the downstream tools CppInterOp & Cppyy will fail otherwise.
DeltaFile
+63-0clang/test/Interpreter/extern-c-error-recovery.cpp
+9-5clang/lib/Interpreter/IncrementalParser.cpp
+72-52 files

NetBSD/othersrc PjtCn49usr.bin/gooeymux kernelstuff.h

   make sure we have WS_KERNEL_*
VersionDeltaFile
1.4+5-1usr.bin/gooeymux/kernelstuff.h
+5-11 files

NetBSD/pkgsrc 4pIN2HGdoc CHANGES-2026

   doc: Updated security/libjwt to 3.6.1nb1
VersionDeltaFile
1.5460+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 7LUAAF9security/libjwt PLIST Makefile

   libjwt: fix PLIST for doxygen 1.18 and depend on it

   Bump PKGREVISION.
VersionDeltaFile
1.13+3-2security/libjwt/Makefile
1.10+3-1security/libjwt/PLIST
+6-32 files

NetBSD/pkgsrc SMYWCHVdoc CHANGES-2026

   doc: Updated games/naev to 0.12.6nb10
VersionDeltaFile
1.5459+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 4TrQe89games/naev Makefile PLIST

   naev: fix PLIST for doxygen 1.18 and depend on it

   Bump PKGREVISION.
VersionDeltaFile
1.7+102-7games/naev/PLIST
1.54+2-2games/naev/Makefile
+104-92 files

NetBSD/pkgsrc ZTw5S2ldoc TODO

   doc/TODO: add some

   + confuse-3.4, faad2-2.11.3, fzf-0.74.3, ggml-0.21.0, imath-3.2.3,
     khal-0.14.1, libdeflate-1.26, openexr-3.4.15, protobuf-36.0,
     py-brotlicffi-1.2.0.2, py-cython-3.3.0, py-deepmerge-3.0,
     py-google-api-python-client-2.199.0, py-httpcore2-2.12.0,
     py-httpx2-2.12.0, py-idna-3.19, py-protobuf-7.36.0, py-pygments-2.21.0,
     py-pymdown-extensions-11.0.2, py-sphinx-argparse-0.6.1,
     py-urwid-4.0.11, py-vcs-versioning-2.3.1, py-zensical-0.0.57.
VersionDeltaFile
1.27791+24-1doc/TODO
+24-11 files

LLVM/project 7f9b3b6clang/lib/Driver/ToolChains FreeBSD.h FreeBSD.cpp, clang/test/Driver freebsd-include-paths.c freebsd.cpp

[clang][Driver] Fix libc++ include path on FreeBSD (#212725)

`clang++` defaults to `-stdlib=libc++` on FreeBSD. When building with
both `clang` and `libcxx` included, the freshly built `clang++` uses the
system version of the `libc++` headers. However, this is from the
bundled `libc++` 19.1.7, thus inconsistent with the `libc++` being
built.

Similarly to the NetBSD case, FreeBSD has its own version of
`addLibCxxIncludePaths` which just includes `/usr/include/c++/v1`.

This patch removes `FreeBSD::addLibCxxIncludePaths` in favour of the
generic version in `Gnu.cpp`.

Tested on `amd64-pc-freebsd15.1`.
DeltaFile
+12-2clang/test/Driver/freebsd.cpp
+0-6clang/lib/Driver/ToolChains/FreeBSD.cpp
+4-2clang/test/Driver/freebsd-include-paths.c
+0-2clang/lib/Driver/ToolChains/FreeBSD.h
+0-0clang/test/Driver/Inputs/install_tree_without_libcxx/include/.keep
+0-0clang/test/Driver/Inputs/install_tree_without_libcxx/lib/.keep
+16-121 files not shown
+16-127 files

LLVM/project 9c20f3bllvm/lib/IR Verifier.cpp, llvm/test/Verifier insert-extract-intrinsics-invalid.ll

[Verifier] Prevent insertion/extraction of scalable vectors into/from fixed vectors (#215647)

Per LangRef:
> Scalable vectors can only be inserted into other scalable vectors.
> (...)
> Scalable vectors can only be extracted from other scalable vectors.

Add checks to enforce these rules for `llvm.vector.insert` and
`llvm.vector.extract` intrinsics.
DeltaFile
+17-0llvm/test/Verifier/insert-extract-intrinsics-invalid.ll
+14-0llvm/lib/IR/Verifier.cpp
+31-02 files

FreeBSD/ports 2dd7da9print/py-weasyprint distinfo Makefile

print/py-weasyprint: update 61.2 -> 69.0, pet repology

Changes:        https://github.com/Kozea/WeasyPrint/releases
                https://www.courtbouillon.org/blog/00067-weasyprint-69/
Security:       CVE-2026-49452, CVE-2025-68616
DeltaFile
+11-12print/py-weasyprint/Makefile
+3-3print/py-weasyprint/distinfo
+14-152 files

LLVM/project 5632287llvm/include/llvm/Support GenericDomTreeConstruction.h GenericDomTree.h, llvm/test/CodeGen/AMDGPU si-lower-control-flow-preserve-dom-tree.mir

[DomTree] Prepend children instead of appending (#218178)

Follow-up to #176409: `AppendPtr` exists only to keep a node's children
in the order they are added, and a lot of code depends on the order.

Implement an altrenative: in `attachNewSubtree`, create nodes in DFS
order and then link them in reverse. Trees built from scratch are
unchanged. Two tests that print an updated tree are adjusted.
DeltaFile
+12-12llvm/include/llvm/Support/GenericDomTree.h
+9-6llvm/include/llvm/Support/GenericDomTreeConstruction.h
+5-5llvm/test/Transforms/JumpThreading/domtree-updates.ll
+2-2llvm/test/CodeGen/AMDGPU/si-lower-control-flow-preserve-dom-tree.mir
+28-254 files

NetBSD/pkgsrc U1laUgBmath/metis distinfo Makefile, math/metis/patches patch-ac patch-ab

   metis: fix build on -current.

   Some pkglint cleanup while here.
VersionDeltaFile
1.1+15-0math/metis/patches/patch-Test_Makefile
1.15+5-5math/metis/Makefile
1.8+5-4math/metis/distinfo
1.2+3-1math/metis/patches/patch-ac
1.2+3-1math/metis/patches/patch-ab
1.2+3-1math/metis/patches/patch-aa
+34-126 files

FreeBSD/ports 8ec6419print/py-pydyf Makefile distinfo

print/py-pydyf: update 0.9.0 -> 0.12.1, pet repology

Changes:        https://doc.courtbouillon.org/pydyf/stable/changelog.html
DeltaFile
+3-3print/py-pydyf/distinfo
+1-2print/py-pydyf/Makefile
+4-52 files

LLVM/project acddcdaflang/unittests/Evaluate CMakeLists.txt

[flang][test] Link designator-path test with FortranParser (#218204)

This is the missing build dependency that wasn't added to
https://github.com/llvm/llvm-project/pull/211606.
It should resolve a some of the build bot failures that have been
reported there.
DeltaFile
+1-0flang/unittests/Evaluate/CMakeLists.txt
+1-01 files

LLVM/project 724201cllvm/lib/Target/SPIRV SPIRVPassRegistry.def

fix

Created using spr 1.3.7
DeltaFile
+11-11llvm/lib/Target/SPIRV/SPIRVPassRegistry.def
+11-111 files

LLVM/project a8d8ed0llvm/lib/Target/SPIRV SPIRVPrepareFunctions.h SPIRVLegalizeZeroSizeArrays.h

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+106-0llvm/lib/Target/SPIRV/SPIRV.h
+0-34llvm/lib/Target/SPIRV/SPIRVFinalizeShaderLinkage.h
+0-29llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.h
+0-29llvm/lib/Target/SPIRV/SPIRVLegalizeZeroSizeArrays.h
+0-29llvm/lib/Target/SPIRV/SPIRVLegalizePointerCast.h
+0-29llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.h
+106-15023 files not shown
+108-37829 files

LLVM/project 5607c45llvm/lib/Target/SPIRV SPIRVPrepareFunctions.h SPIRVLegalizeZeroSizeArrays.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+110-0llvm/lib/Target/SPIRV/SPIRV.h
+0-34llvm/lib/Target/SPIRV/SPIRVFinalizeShaderLinkage.h
+0-29llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.h
+0-29llvm/lib/Target/SPIRV/SPIRVLegalizeZeroSizeArrays.h
+0-29llvm/lib/Target/SPIRV/SPIRVLegalizePointerCast.h
+0-29llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.h
+110-15023 files not shown
+135-37829 files