HardenedBSD/src a4a785bcontrib/netbsd-tests/lib/libc/sys t_access.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+0-8contrib/netbsd-tests/lib/libc/sys/t_access.c
+0-81 files

FreeBSD/src 17da2d2usr.sbin/newsyslog newsyslog.conf.5

newsyslog.conf.5: Add a CAVEAT

PR:                     282639
MFC after:              3 days (resolved merge conflicts)
Reviewed by:            michaelo
Differential Revision:  https://reviews.freebsd.org/D55122

(cherry picked from commit 64e612b46290617ec753b4ee6ec633a3724940e3)
DeltaFile
+4-1usr.sbin/newsyslog/newsyslog.conf.5
+4-11 files

HardenedBSD/src 2527e6cusr.bin/runat runat.c, usr.sbin/newsyslog newsyslog.conf.5

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+28-7usr.bin/runat/runat.c
+4-1usr.sbin/newsyslog/newsyslog.conf.5
+32-82 files

HardenedBSD/ports d4a53ddgraphics/khronos-texture/files patch-external_fmt_include_fmt_format.h, mail/p5-Sisimai pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+112-227www/webtrees22/pkg-plist
+4-8mail/p5-Sisimai/pkg-plist
+10-1textproc/caps-log/pkg-descr
+10-0graphics/khronos-texture/files/patch-external_fmt_include_fmt_format.h
+0-10math/octave-forge-coder/files/patch-pre__install.m
+5-5security/vuls/distinfo
+141-25117 files not shown
+181-28923 files

FreeBSD/ports cf42a29graphics/khronos-texture Makefile, graphics/khronos-texture/files patch-external_fmt_include_fmt_format.h

graphics/khronos-texture: Fix build with libc++ 21

[...]
In file included from /wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/src/os.cc:13:
In file included from /wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/os.h:11:
/wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/format.h:747:28: error: use of undeclared identifier 'malloc'
  747 |     T* p = static_cast<T*>(malloc(n * sizeof(T)));
      |                            ^~~~~~
/wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/format.h:752:35: error: use of undeclared identifier 'free'
  752 |   void deallocate(T* p, size_t) { free(p); }
      |                                   ^~~~
[...]

While here udpate to USES+=compiler:c++14-lang - port uses -std=c++14.

PR:     293197
MFH:    2026Q1
(cherry picked from commit 438a70797fc27940aa3276972591444707792551)
DeltaFile
+10-0graphics/khronos-texture/files/patch-external_fmt_include_fmt_format.h
+1-1graphics/khronos-texture/Makefile
+11-12 files

HardenedBSD/src b45447cusr.bin/runat runat.c

runat: Add -h to manipulate a symlink's named attribute dir

Lionel Cons <lionelcons1972 at gmail.com> requested
that a new option be added to runat(1) so that it could
be used to manipulate named attributes associated with
a symbolic link and not the file the symbolic link refers to).

This patch adds the option -h/--nofollow to do this.

(cherry picked from commit 4bfb7cfb70e62bc316de9e73cfd63a5c85541154)
DeltaFile
+28-7usr.bin/runat/runat.c
+28-71 files

FreeBSD/src b45447cusr.bin/runat runat.c

runat: Add -h to manipulate a symlink's named attribute dir

Lionel Cons <lionelcons1972 at gmail.com> requested
that a new option be added to runat(1) so that it could
be used to manipulate named attributes associated with
a symbolic link and not the file the symbolic link refers to).

This patch adds the option -h/--nofollow to do this.

(cherry picked from commit 4bfb7cfb70e62bc316de9e73cfd63a5c85541154)
DeltaFile
+28-7usr.bin/runat/runat.c
+28-71 files

HardenedBSD/ports 438a707graphics/khronos-texture Makefile, graphics/khronos-texture/files patch-external_fmt_include_fmt_format.h

graphics/khronos-texture: Fix build with libc++ 21

[...]
In file included from /wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/src/os.cc:13:
In file included from /wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/os.h:11:
/wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/format.h:747:28: error: use of undeclared identifier 'malloc'
  747 |     T* p = static_cast<T*>(malloc(n * sizeof(T)));
      |                            ^~~~~~
/wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/format.h:752:35: error: use of undeclared identifier 'free'
  752 |   void deallocate(T* p, size_t) { free(p); }
      |                                   ^~~~
[...]

While here udpate to USES+=compiler:c++14-lang - port uses -std=c++14.

PR:     293197
MFH:    2026Q1
DeltaFile
+10-0graphics/khronos-texture/files/patch-external_fmt_include_fmt_format.h
+1-1graphics/khronos-texture/Makefile
+11-12 files

FreeBSD/ports 438a707graphics/khronos-texture Makefile, graphics/khronos-texture/files patch-external_fmt_include_fmt_format.h

graphics/khronos-texture: Fix build with libc++ 21

[...]
In file included from /wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/src/os.cc:13:
In file included from /wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/os.h:11:
/wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/format.h:747:28: error: use of undeclared identifier 'malloc'
  747 |     T* p = static_cast<T*>(malloc(n * sizeof(T)));
      |                            ^~~~~~
/wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.4.2/external/fmt/include/fmt/format.h:752:35: error: use of undeclared identifier 'free'
  752 |   void deallocate(T* p, size_t) { free(p); }
      |                                   ^~~~
[...]

While here udpate to USES+=compiler:c++14-lang - port uses -std=c++14.

PR:     293197
MFH:    2026Q1
DeltaFile
+10-0graphics/khronos-texture/files/patch-external_fmt_include_fmt_format.h
+1-1graphics/khronos-texture/Makefile
+11-12 files

LLVM/project 3ec6ca7llvm/utils/TableGen DAGISelMatcherOpt.cpp

[TableGen] Reduce number of call to FactorNodes. NFC

Previously we recursively called FactorNodes all the way down the
tree any time FactorNodes was called. Additionally, on returning
from the recursiion we would flatten any child ScopeMatchers into
the parent.

There are additional calls to FactorNodes every time a new ScopeMatcher
is created. These calls cause a lot of visiting of parts of the tree that
have already been factored as much as possible.

We can remove the primary recursion by ensuring we flatten
scopes when building a new ScopeMatcher. If the Matcher we are
going to insert into the new ScopeMatcher is itself a ScopeMatcher,
we add the children into the new ScopeMatcher instead. This makes
the FactorNodes call for the newly created scope more powerful
eliminating the need for the recursion.
DeltaFile
+56-39llvm/utils/TableGen/DAGISelMatcherOpt.cpp
+56-391 files

FreeBSD/src 817f0b8usr.sbin/newsyslog newsyslog.conf.5

newsyslog.conf.5: Add a CAVEAT

PR:                     282639
MFC after:              3 days
Reviewed by:            michaelo
Differential Revision:  https://reviews.freebsd.org/D55122

(cherry picked from commit 64e612b46290617ec753b4ee6ec633a3724940e3)
DeltaFile
+4-1usr.sbin/newsyslog/newsyslog.conf.5
+4-11 files

HardenedBSD/src 817f0b8usr.sbin/newsyslog newsyslog.conf.5

newsyslog.conf.5: Add a CAVEAT

PR:                     282639
MFC after:              3 days
Reviewed by:            michaelo
Differential Revision:  https://reviews.freebsd.org/D55122

(cherry picked from commit 64e612b46290617ec753b4ee6ec633a3724940e3)
DeltaFile
+4-1usr.sbin/newsyslog/newsyslog.conf.5
+4-11 files

LLVM/project 901e543mlir/lib/Dialect/Math/Transforms ExpandOps.cpp, mlir/test/Dialect/Math expand-math.mlir

[mlir][Math] Fix math-expand-ops crash on math.ctlz with index type (#181539)

Fixes #179847
math.ctlz expansion called getIntOrFloatBitWidth() on the operand type
without checking. Index type has no fixed bitwidth and is not int/float,
so the assertion in Type::getIntOrFloatBitWidth() could fire.

- In convertCtlzOp, bail out with notifyMatchFailure when the element
type is not integer or float, so expansion is only applied to types with
a defined bitwidth.
- Add a test in expand-math.mlir that math.ctlz on index is left
unchanged by the pass (no crash, op preserved).
DeltaFile
+11-0mlir/test/Dialect/Math/expand-math.mlir
+5-0mlir/lib/Dialect/Math/Transforms/ExpandOps.cpp
+16-02 files

LLVM/project 6ef0613clang/test/OpenMP task_codegen.cpp, llvm/test/CodeGen/AArch64 clmul-fixed.ll

Rebase + fix comment

Created using spr 1.3.7
DeltaFile
+5,835-5,584llvm/test/tools/llvm-dwarfdump/X86/simplified-template-names.s
+5,528-5,528llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
+4,314-4,314llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir
+3,465-2,020clang/test/OpenMP/task_codegen.cpp
+4,716-0llvm/test/MC/AMDGPU/gfx13_asm_sop2.s
+4,564-0llvm/test/CodeGen/AArch64/clmul-fixed.ll
+28,422-17,4466,502 files not shown
+338,949-131,6536,508 files

LLVM/project 6ce9e36llvm/lib/CodeGen/GlobalISel GISelValueTracking.cpp, llvm/test/CodeGen/AArch64/GlobalISel knownbits-cttz.mir

[GISel] handle CTTZ in `computeKnownBits` (#181474)

Addresses part of #150515. Adapted from the CTLZ code below this
DeltaFile
+111-0llvm/test/CodeGen/AArch64/GlobalISel/knownbits-cttz.mir
+5-14llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz-zero-undef.mir
+4-11llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
+11-0llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
+1-3llvm/test/CodeGen/X86/GlobalISel/legalize-trailing-zeros.mir
+1-3llvm/test/CodeGen/X86/GlobalISel/legalize-trailing-zeros-undef.mir
+133-311 files not shown
+133-327 files

OpenBSD/ports LavQFy2devel/git-annex distinfo cabal.inc, devel/git-annex/patches patch-Utility_DirWatcher_Kqueue_hs

   Upgrade git-annex to 10.20260115 supporting ghc 9.10.3

   Remove the docs from git-annex as new hackage versions miss them

   There's no obvious place outside main git repository to get the docs.

   OK kili@
VersionDeltaFile
1.12+430-422devel/git-annex/distinfo
1.2+167-150devel/git-annex/cabal.inc
1.2+143-7devel/git-annex/patches/patch-Utility_DirWatcher_Kqueue_hs
1.5+1-114devel/git-annex/pkg/PLIST
1.19+3-18devel/git-annex/Makefile
+744-7115 files

LLVM/project 6d033abllvm/lib/Transforms/InstCombine InstCombinePHI.cpp, llvm/test/Transforms/InstCombine phi-int2ptr-different-addrspace.ll

[InstCombine] Avoid invalid bitcast across address spaces in foldIntegerTypedPHI (#181064)

Only use a PtrToInt's source pointer as an available pointer value when
its pointer type exactly matches the inttoptr target type. This prevents
creating an invalid bitcast between differing address spaces during
foldIntegerTypedPHI.
DeltaFile
+40-0llvm/test/Transforms/InstCombine/phi-int2ptr-different-addrspace.ll
+4-2llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
+44-22 files

OpenBSD/ports 7gJrA7hnet/matterhorn distinfo cabal.inc, net/matterhorn/patches patch-matterhorn-90000_0_0_matterhorn_cabal patch-mattermost-api-90000_0_0_mattermost-api_cabal

   Update matterhorn for ghc-9.10.3

   Relax dependency bounds for brick, vty, vty-crossplatform, data-clist,
   random, and aeson to support GHC 9.10.3. Update cabal.inc with new
   dependency versions and regenerate distinfo.

   Broken on aarch64 due to a version conflict in binary package. The
   ghc-bundled .so takes precedence over the one in cabal build. It's
   built against a different set of dependencies and some systems
   don't exist.

   OK kili@
VersionDeltaFile
1.3+338-302net/matterhorn/distinfo
1.2+139-113net/matterhorn/cabal.inc
1.1+39-0net/matterhorn/patches/patch-matterhorn-90000_0_0_matterhorn_cabal
1.1+12-0net/matterhorn/patches/patch-mattermost-api-90000_0_0_mattermost-api_cabal
1.5+3-1net/matterhorn/Makefile
+531-4165 files

OpenBSD/ports hvvXktjx11/xmobar distinfo cabal.inc

   Update xmobar for ghc-9.10.3
VersionDeltaFile
1.26+170-146x11/xmobar/distinfo
1.2+74-60x11/xmobar/cabal.inc
1.63+1-1x11/xmobar/Makefile
+245-2073 files

OpenBSD/ports w0YAXf1textproc/pandoc distinfo cabal.inc

   Upgrade pandoc to 3.9 for ghc-9.10.3

   OK kili@
VersionDeltaFile
1.19+182-226textproc/pandoc/distinfo
1.2+83-94textproc/pandoc/cabal.inc
1.27+2-2textproc/pandoc/Makefile
+267-3223 files

OpenBSD/ports U1r5fbyx11/xmonad distinfo cabal.inc

   Update xmonad for ghc-9.10.3

   OK kili@
VersionDeltaFile
1.22+12-4x11/xmonad/distinfo
1.2+6-4x11/xmonad/cabal.inc
1.71+1-0x11/xmonad/Makefile
+19-83 files

OpenBSD/ports 4T64AxLdevel/shellcheck distinfo cabal.inc

   Update shellcheck for ghc-9.10.3

   OK kili@
VersionDeltaFile
1.11+38-48devel/shellcheck/distinfo
1.2+17-18devel/shellcheck/cabal.inc
1.21+1-0devel/shellcheck/Makefile
+56-663 files

OpenBSD/ports teteUSsproductivity/hledger distinfo cabal.inc

   Update hledger for ghc-9.10.3

   OK kili@
VersionDeltaFile
1.16+8-8productivity/hledger/distinfo
1.3+4-4productivity/hledger/cabal.inc
1.20+1-0productivity/hledger/Makefile
+13-123 files

OpenBSD/ports NH2ga1idevel/hasktags distinfo cabal.inc

   Update hasktags for ghc-9.10.3

   OK kili@
VersionDeltaFile
1.9+52-46devel/hasktags/distinfo
1.2+26-22devel/hasktags/cabal.inc
1.20+1-0devel/hasktags/Makefile
+79-683 files

OpenBSD/ports MaQ7iO9devel/darcs distinfo cabal.inc, devel/darcs/patches patch-darcs_cabal patch-src_Darcs_Patch_RepoPatch_hs

   Update darcs to support ghc-9.10.3

   Patches are from darcs future release.

   OK kili@
VersionDeltaFile
1.40+80-88devel/darcs/distinfo
1.2+40-37devel/darcs/cabal.inc
1.15+25-25devel/darcs/patches/patch-darcs_cabal
1.1+23-0devel/darcs/patches/patch-src_Darcs_Patch_RepoPatch_hs
1.1+16-0devel/darcs/patches/patch-Setup_hs
1.83+1-0devel/darcs/Makefile
+185-1506 files

OpenBSD/ports 06YSog3devel/cabal-bundler distinfo cabal.inc

   Update cabal-bundler to work with ghc-9.10.3

   OK kili@
VersionDeltaFile
1.7+260-90devel/cabal-bundler/distinfo
1.2+149-81devel/cabal-bundler/cabal.inc
1.14+2-5devel/cabal-bundler/Makefile
+411-1763 files

OpenBSD/ports HEgKTCZdevel/cabal-install distinfo Makefile, devel/cabal-install/files openbsd.json

   Upgrade devel/cabal-install to 3.16.1.0

   OK kili@
VersionDeltaFile
1.10+143-177devel/cabal-install/files/openbsd.json
1.22+84-96devel/cabal-install/distinfo
1.46+27-30devel/cabal-install/Makefile
+254-3033 files

OpenBSD/ports wRC0Wzblang/ghc Makefile distinfo, lang/ghc/files plan-openbsd.json

   Update lang/ghc to 9.10.3

   Update bootstrap binaries from 9.8.3.20250914 to 9.10.3.20260203.

   OK kili@
VersionDeltaFile
1.35+7,054-6,134lang/ghc/pkg/PLIST
1.1+300-0lang/ghc/files/plan-openbsd.json
1.235+24-23lang/ghc/Makefile
1.82+14-14lang/ghc/distinfo
1.1+15-0lang/ghc/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_Program_Strip_hs
1.20+3-3lang/ghc/patches/patch-testsuite_driver_testlib_py
+7,410-6,1744 files not shown
+7,414-6,17810 files

LLVM/project 8988fb7clang/docs ReleaseNotes.rst, clang/lib/Sema SemaCodeComplete.cpp

[clang][ObjC][CodeComplete] Fix crash on C-Style cast with parenthesized operand in ObjC++ (#180343)

In ObjC++ mode, code-completion after a C-style cast like
`(int*)(0x200)` crashed because the inner parenthesized expression was
parsed as a `ParenListExpr` (null type) due to `AllowTypes` propagation.

Fixes https://github.com/llvm/llvm-project/issues/180125
DeltaFile
+12-0clang/test/CodeCompletion/objc-cast-parenthesized-expr.m
+5-0clang/lib/Sema/SemaCodeComplete.cpp
+3-0clang/docs/ReleaseNotes.rst
+20-03 files

NetBSD/pkgsrc 7587DZfcross Makefile

   add new m68k-none-elf-binutils and m68k-none-elf-gcc pcakages.
VersionDeltaFile
1.128+3-1cross/Makefile
+3-11 files