HardenedBSD/ports bf54dd5databases/couchdb3 pkg-plist, deskutils/treesheets/files patch-CMakeLists.txt

Merge remote-tracking branch 'internal/freebsd/main' into hardenedbsd/main
DeltaFile
+0-1,139multimedia/vlc/files/vlc-3.0.21-fedora_ffmpeg7-1.patch
+508-506databases/couchdb3/pkg-plist
+0-393multimedia/vlc/files/vlc-3.0.21-ffmpeg8-1.patch
+324-0multimedia/vlc/files/vlc-3.0.22-ffmpeg8.patch
+0-159multimedia/vlc/files/patch-modules_meta__engine_taglib.cpp
+23-19deskutils/treesheets/files/patch-CMakeLists.txt
+855-2,21625 files not shown
+958-2,30831 files

HardenedBSD/ports a6d44a7multimedia/ffmpeg Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-90multimedia/ffmpeg/Makefile
+0-901 files

LLVM/project 7937621mlir/lib/Transforms RemoveDeadValues.cpp, mlir/test/Transforms remove-dead-values.mlir

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+157-311mlir/lib/Transforms/RemoveDeadValues.cpp
+109-44mlir/test/Transforms/remove-dead-values.mlir
+266-3552 files

LLVM/project 7e3d572mlir/lib/Transforms RemoveDeadValues.cpp, mlir/test/Transforms remove-dead-values.mlir

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+138-289mlir/lib/Transforms/RemoveDeadValues.cpp
+109-44mlir/test/Transforms/remove-dead-values.mlir
+247-3332 files

LLVM/project db70228mlir/lib/Transforms RemoveDeadValues.cpp, mlir/test/Transforms remove-dead-values.mlir

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+138-289mlir/lib/Transforms/RemoveDeadValues.cpp
+82-46mlir/test/Transforms/remove-dead-values.mlir
+220-3352 files

LLVM/project 529a159mlir/lib/Dialect/SCF/IR SCF.cpp, mlir/test/Dialect/SCF canonicalize.mlir

[mlir][SCF] Fold unused `index_switch` results
DeltaFile
+51-1mlir/lib/Dialect/SCF/IR/SCF.cpp
+31-0mlir/test/Dialect/SCF/canonicalize.mlir
+82-12 files

LLVM/project 991455ellvm/lib/Transforms/Utils SCCPSolver.cpp, llvm/test/Transforms/SCCP bitcast-vector-refinement.l.ll

[SCCP] Use mergeInValue instead of markConstant when folding CastInst (#173190)

Fixes #173180 

The crash occurs when a vector constant refines its value during
iterative analysis.
In `SCCPInstVisitor::visitCastInst`, the logic for folding constants
through a `CastInst` uses `markConstant`. This function is strictly
designed for initial assignments and contains an assertion that prevents
a lattice element from being updated with a different constant pointer.

During the analysis of loops or complex data flows, a vector constant
may "refine." For example:

First Pass: SCCP identifies a value as `<4 x i64> {poison, poison,
poison, 0}`.

Second Pass: The value refines to `<4 x i64> zeroinitializer`.


    [10 lines not shown]
DeltaFile
+29-0llvm/test/Transforms/SCCP/bitcast-vector-refinement.l.ll
+5-2llvm/lib/Transforms/Utils/SCCPSolver.cpp
+34-22 files

OpenBSD/ports e3EMig5net/net-snmp Makefile distinfo, net/net-snmp/patches patch-Makefile_top patch-agent_mibgroup_mibII_ipAddr_c

   update to net-snmp-5.9.5.2
VersionDeltaFile
1.131+4-5net/net-snmp/Makefile
1.25+3-3net/net-snmp/patches/patch-Makefile_top
1.9+2-2net/net-snmp/patches/patch-agent_mibgroup_mibII_ipAddr_c
1.30+2-2net/net-snmp/distinfo
1.9+0-0net/net-snmp/patches/patch-Makefile_in
+11-125 files

LLVM/project 11a1fc4libcxx/test/std/containers/sequences/array empty.verify.cpp compare.verify.cpp, libcxx/test/std/containers/sequences/array/array.cons deduct.verify.cpp

[libc++][NFC] Refactor `std::array`'s `verify.cpp` tests (#173455)

This came up in a review previously: replaces `main()` in some
`verify.cpp` tests.
DeltaFile
+0-24libcxx/test/std/containers/sequences/array/empty.verify.cpp
+7-11libcxx/test/std/containers/sequences/array/array.swap/swap.verify.cpp
+3-4libcxx/test/std/containers/sequences/array/array.creation/to_array.verify.cpp
+3-4libcxx/test/std/containers/sequences/array/array.cons/deduct.verify.cpp
+1-3libcxx/test/std/containers/sequences/array/compare.verify.cpp
+1-3libcxx/test/std/containers/sequences/array/array.fill/fill.verify.cpp
+15-491 files not shown
+16-507 files

LLVM/project 71bba12clang/include/clang/Lex Preprocessor.h, clang/lib/Lex Preprocessor.cpp PPDirectives.cpp

Revert "Reapply "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (#173130)" (#173549)

This reverts commit 0d1c396ce8178baf05f277b16bf41b8a6b847d6d.

Co-authored-by: Yihan Wang <yihwang at nvidia.com>
DeltaFile
+211-279clang/lib/Lex/Preprocessor.cpp
+31-441clang/lib/Lex/PPDirectives.cpp
+0-207clang/test/CXX/module/cpp.pre/p1.cpp
+61-135clang/include/clang/Lex/Preprocessor.h
+15-149clang/lib/Lex/DependencyDirectivesScanner.cpp
+77-47clang/lib/Parse/Parser.cpp
+395-1,25838 files not shown
+537-1,70944 files

NetBSD/src 9TS38Lpsys/arch/hppa/doc ngle_manual.txt

   first draft of HP NGLE documentation
VersionDeltaFile
1.1+346-0sys/arch/hppa/doc/ngle_manual.txt
+346-01 files

LLVM/project 6d1e7d4llvm/lib/IR IRBuilder.cpp, llvm/test/Transforms/LoopVectorize step-vector-i1-wrapping.ll

[LV][IRBuilder] Allow implicit truncation of step vector (#173229)

LV can create step vectors that wrap around, e.g. `step-vector i1` with
VF>2. Allow truncation when creating the vector constant to avoid an
assertion failure with https://github.com/llvm/llvm-project/pull/171456.

After https://github.com/llvm/llvm-project/pull/173494 the definition of
the llvm.stepvector intrinsic has been changed to make it have wrapping
semantics, so the semantics for the fixed and scalable case match now.
DeltaFile
+38-0llvm/test/Transforms/LoopVectorize/step-vector-i1-wrapping.ll
+3-1llvm/lib/IR/IRBuilder.cpp
+41-12 files

HardenedBSD/ports 3315f7ddevel/py-ty distinfo Makefile.crates

devel/py-ty: Update to 0.0.7

Changelog: https://github.com/astral-sh/ty/blob/0.0.7/CHANGELOG.md

Reported by:    Repology
DeltaFile
+5-5devel/py-ty/distinfo
+2-2devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+8-83 files

FreeBSD/ports 3315f7ddevel/py-ty distinfo Makefile.crates

devel/py-ty: Update to 0.0.7

Changelog: https://github.com/astral-sh/ty/blob/0.0.7/CHANGELOG.md

Reported by:    Repology
DeltaFile
+5-5devel/py-ty/distinfo
+2-2devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+8-83 files

OpenBSD/ports OTRCgC3astro/celestia Makefile distinfo

   Update to celestia-1.7.0pre20251225v0.
VersionDeltaFile
1.62+2-2astro/celestia/Makefile
1.12+2-2astro/celestia/distinfo
+4-42 files

OpenBSD/ports 6oePy4Sastro/celestia-data distinfo Makefile, astro/celestia-data/pkg PLIST

   Update to celestia-data-0.20251225.
VersionDeltaFile
1.2+23-2astro/celestia-data/pkg/PLIST
1.2+2-3astro/celestia-data/distinfo
1.2+2-2astro/celestia-data/Makefile
+27-73 files

NetBSD/src 1qRT7EJsbin/atactl atactl.c

   atactl(8): Don't assume <endian.h> is transcluded via <sys/param.h>

   prompted by PR pkg/59839
VersionDeltaFile
1.87+3-2sbin/atactl/atactl.c
+3-21 files

NetBSD/src 2DRe1oWexternal/bsd/elftoolchain/dist/libelf elf_open.3 elf_getversion.3

   elftoolchain/libelf: Sync manual pages with upstream.
VersionDeltaFile
1.8+11-22external/bsd/elftoolchain/dist/libelf/elf_open.3
1.2+4-26external/bsd/elftoolchain/dist/libelf/elf_getversion.3
1.7+10-10external/bsd/elftoolchain/dist/libelf/elf_begin.3
1.7+3-2external/bsd/elftoolchain/dist/libelf/elf_memory.3
1.8+2-2external/bsd/elftoolchain/dist/libelf/elf_getarhdr.3
+30-625 files

NetBSD/src G4a2NAQsbin/apmlabel apmlabel.c

   apmlabel(8): don't assume <endian.h> is transcluded via <sys/param.h>

   prompted by PR pkg/59839
VersionDeltaFile
1.4+3-2sbin/apmlabel/apmlabel.c
+3-21 files

LLVM/project 63d57b9mlir/lib/Transforms RemoveDeadValues.cpp, mlir/test/Transforms remove-dead-values.mlir

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+115-287mlir/lib/Transforms/RemoveDeadValues.cpp
+66-45mlir/test/Transforms/remove-dead-values.mlir
+181-3322 files

FreeBSD/ports 631fb95security/vuxml/vuln 2025.xml

security/vuxml: Document use-after-free in fluidsynth
DeltaFile
+33-0security/vuxml/vuln/2025.xml
+33-01 files

HardenedBSD/ports 631fb95security/vuxml/vuln 2025.xml

security/vuxml: Document use-after-free in fluidsynth
DeltaFile
+33-0security/vuxml/vuln/2025.xml
+33-01 files

LLVM/project f5dadffmlir/lib/Transforms RemoveDeadValues.cpp

[mlir][Transforms][NFC] `remove-dead-values`: Split `OperationToCleanup`
DeltaFile
+9-4mlir/lib/Transforms/RemoveDeadValues.cpp
+9-41 files

LLVM/project 64e7f72libcxx/include ios, libcxx/include/__ios fpos.h

[libc++][ios] Applied `[[nodiscard]]` (#173520)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.htm
- https://wg21.link/iostreams.base
DeltaFile
+89-0libcxx/test/libcxx/input.output/iostreams.base/nodiscard.verify.cpp
+30-30libcxx/include/ios
+5-5libcxx/include/__ios/fpos.h
+124-353 files

OpenBSD/src 6mUR9Aousr.sbin/pcidump pcidump.c

   Print ASPM stuff.

   ok dlg@, deraadt@, mlarkin@
VersionDeltaFile
1.73+33-1usr.sbin/pcidump/pcidump.c
+33-11 files

LLVM/project 0d1c396clang/include/clang/Lex Preprocessor.h, clang/lib/Lex Preprocessor.cpp PPDirectives.cpp

Reapply "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (#173130)

This PR reapply https://github.com/llvm/llvm-project/pull/107168.

---------

Signed-off-by: Wang, Yihan <yronglin777 at gmail.com>
Signed-off-by: yronglin <yronglin777 at gmail.com>
DeltaFile
+277-209clang/lib/Lex/Preprocessor.cpp
+441-31clang/lib/Lex/PPDirectives.cpp
+207-0clang/test/CXX/module/cpp.pre/p1.cpp
+135-61clang/include/clang/Lex/Preprocessor.h
+150-16clang/lib/Lex/DependencyDirectivesScanner.cpp
+47-77clang/lib/Parse/Parser.cpp
+1,257-39438 files not shown
+1,708-53644 files

FreeBSD/ports ef54a1cdatabases/couchdb3 pkg-plist Makefile

databases/couchdb3: bump plist after erlang update

Reported by:    pkg-fallout
Sponsored by:   SkunkWerks, GmbH
DeltaFile
+508-506databases/couchdb3/pkg-plist
+1-1databases/couchdb3/Makefile
+509-5072 files

HardenedBSD/ports ef54a1cdatabases/couchdb3 pkg-plist Makefile

databases/couchdb3: bump plist after erlang update

Reported by:    pkg-fallout
Sponsored by:   SkunkWerks, GmbH
DeltaFile
+508-506databases/couchdb3/pkg-plist
+1-1databases/couchdb3/Makefile
+509-5072 files

HardenedBSD/ports 1276053audio/fluidsynth distinfo Makefile

audio/fluidsynth: Update to upstream release 2.5.2

Details:
- Bugfix release, see
  https://github.com/FluidSynth/fluidsynth/releases/tag/v2.5.2
- Includes a fix for CVE-2025-68617 (use after free)

MFH:            2025Q4
Security:       CVE-2025-68617
DeltaFile
+3-3audio/fluidsynth/distinfo
+1-1audio/fluidsynth/Makefile
+1-1audio/fluidsynth/pkg-plist
+5-53 files

FreeBSD/ports 1276053audio/fluidsynth distinfo Makefile

audio/fluidsynth: Update to upstream release 2.5.2

Details:
- Bugfix release, see
  https://github.com/FluidSynth/fluidsynth/releases/tag/v2.5.2
- Includes a fix for CVE-2025-68617 (use after free)

MFH:            2025Q4
Security:       CVE-2025-68617
DeltaFile
+3-3audio/fluidsynth/distinfo
+1-1audio/fluidsynth/Makefile
+1-1audio/fluidsynth/pkg-plist
+5-53 files