FreeBSD/src 74051cfcontrib/elftoolchain/readelf readelf.c

readelf: Add support for ELF package metadata note

We don't use this note type today, but as a general purpose ELF
diagnostic tool readelf(1) ought to decode it.

References:
https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
https://systemd.io/ELF_PACKAGE_METADATA/

Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47524

(cherry picked from commit c18512056301fa97dd31c4cc9a78e18f1aa8b2d5)
DeltaFile
+37-1contrib/elftoolchain/readelf/readelf.c
+37-11 files

LLVM/project bdd8c64mlir/lib/Dialect/Arith/IR ArithOps.cpp, mlir/test/Conversion/ArithToLLVM arith-to-llvm.mlir

[mlir][arith] Fold trivial integer division and remainder (#212074)

Add value-preserving folds mirroring LLVM's InstructionSimplify for the
integer division and remainder ops:

```
divui/divsi/ceildivui/ceildivsi/floordivsi(0, x) -> 0
divui/divsi/ceildivui/ceildivsi/floordivsi(x, x) -> 1
remui/remsi(0, x) -> 0
remui/remsi(x, x) -> 0
```

The self and zero-dividend cases are valid refinements because division
or remainder by zero is undefined behaviour; no overflow flags are
required. The folds return a scalar or splat constant and bail out on
shaped types with a dynamic shape.

Folding `x / 0` and `x % 0` to poison is left as a TODO: it would make
the arith dialect depend on the ub dialect to materialize `ub.poison`.

    [20 lines not shown]
DeltaFile
+119-0mlir/test/Dialect/Arith/canonicalize.mlir
+93-2mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+12-12mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
+11-11mlir/test/Conversion/ArithToSPIRV/arith-to-spirv.mlir
+2-2mlir/test/Conversion/ArithToSPIRV/arith-to-spirv-unsupported.mlir
+237-275 files

FreeBSD/ports 88939c6math/openblas Makefile

math/openblas: fix build on i386

Due to a miscompilation, a stack variable accessed by the MOVAPS
instruction ends up being misaligned.  With MOVAPS requiring memory
operands to be aligned, this causes a bus error on i386.  The underlying
cause could be that gfortran assumes a 16-byte aligned stack as is the
case on current i386 Linux, while we have not done the same ABI change.
I have worked around the problem by passing -mpreferred-stack-boundary=2
to disable assumptions about stack alignment, though ultimately this
will need to be fixed in the gcc and gfortran ports.

PR:             293087
MFH:            2026Q3
Reported by:    salvadore
See also:       https://github.com/OpenMathLib/OpenBLAS/issues/5905
Approved by:    portmgr (build fix blanket)

(cherry picked from commit 48bc034e072df81878dee9fc7efb3b1eb6f3e2e8)
DeltaFile
+3-0math/openblas/Makefile
+3-01 files

FreeBSD/ports 18db1e2net/gnunet/files patch-meson.build patch-src_lib_util_meson.build

net/gnunet: fix build on armv7

We don't have libatomic and don't need it in any case.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q3

(cherry picked from commit 6d0770557bb5d784a9ac3fa113b91dfd56d0e73e)
DeltaFile
+14-1net/gnunet/files/patch-meson.build
+10-0net/gnunet/files/patch-src_lib_util_meson.build
+24-12 files

FreeBSD/ports d071b0fcomms/inspectrum/files patch-src_traceplot.cpp

comms/inspectrum: fix build on 32 bit platforms

On such platforms size_t is int, not long, causing confusion in
std::max().

Approved by:    portmgr (build fix blanket)
MFH:            2026Q3

(cherry picked from commit 22693405a70f71c8c494a05c340b26cb1006a7cb)
DeltaFile
+11-0comms/inspectrum/files/patch-src_traceplot.cpp
+11-01 files

FreeBSD/ports fd655a4databases/ladybug/files patch-src_processor_operator_persistent_reader_csv_base__csv__reader.cpp

databases/ladybug: fix build on armv7

Same polyfill as the one for textproc/krep.

See also:       a002d848b52bda537a6d0a90da4616001303f80b
Approved by:    portmgr (build fix blanket)
MFH:            2026Q3

(cherry picked from commit b811b996cbf6d3688b451868d464489fd6e923df)
DeltaFile
+39-0databases/ladybug/files/patch-src_processor_operator_persistent_reader_csv_base__csv__reader.cpp
+39-01 files

FreeBSD/ports 79393aasysutils/snapraid distinfo Makefile

sysutils/snapraid: update to 14.9

Another bug fix release.

Changelog: https://github.com/amadvance/snapraid/releases/tag/v14.9

MFH:            2026Q3
(cherry picked from commit 12dacba53fd76a65adc5c5e10402f12796c5d38b)
DeltaFile
+3-3sysutils/snapraid/distinfo
+1-1sysutils/snapraid/Makefile
+4-42 files

LLVM/project 286fccelibcxx/include/__chrono hh_mm_ss.h, libcxx/test/std/time/time.hms/time.hms.members hours.pass.cpp is_negative.pass.cpp

[libc++][chrono] Implement LWG 4274: Allow chrono::hh_mm_ss to be constructed from unsigned durations (#209686)

**_Implementation details_**:
- Use `is_unsigned_v` instead of `numeric_limits<Rep>::is_signed`, which
is used by `chrono::abs`. `numeric_limits<Rep>::is_signed` may return
false when a custom `Rep` does not specialize `numeric_limits`. Relying
on it to detect the unsigned case could therefore be unreliable for such
a type. `is_unsigned_v` instead gives a compile-time path for built-in
unsigned types, while the sign check keeps signed types correct.

- The constructor calls `__abs_d` four times because each member is
initialized separately. This should not affect runtime performance
because the compiler should inline `__abs_d` and eliminate the repeated
calculations. We could use another helper function or helper class to
explicitly compute the absolute duration only once. However, this would
add extra glue code, and the added complexity is not worthwhile I think.

---------

Co-authored-by: A. Jiang <de34 at live.cn>
DeltaFile
+13-6libcxx/include/__chrono/hh_mm_ss.h
+2-0libcxx/test/std/time/time.hms/time.hms.members/hours.pass.cpp
+2-0libcxx/test/std/time/time.hms/time.hms.members/is_negative.pass.cpp
+2-0libcxx/test/std/time/time.hms/time.hms.members/minutes.pass.cpp
+2-0libcxx/test/std/time/time.hms/time.hms.members/seconds.pass.cpp
+2-0libcxx/test/std/time/time.hms/time.hms.members/subseconds.pass.cpp
+23-62 files not shown
+26-78 files

FreeBSD/ports 48bc034math/openblas Makefile

math/openblas: fix build on i386

Due to a miscompilation, a stack variable accessed by the MOVAPS
instruction ends up being misaligned.  With MOVAPS requiring memory
operands to be aligned, this causes a bus error on i386.  The underlying
cause could be that gfortran assumes a 16-byte aligned stack as is the
case on current i386 Linux, while we have not done the same ABI change.
I have worked around the problem by passing -mpreferred-stack-boundary=2
to disable assumptions about stack alignment, though ultimately this
will need to be fixed in the gcc and gfortran ports.

PR:             293087
MFH:            2026Q3
Reported by:    salvadore
See also:       https://github.com/OpenMathLib/OpenBLAS/issues/5905
Approved by:    portmgr (build fix blanket)
DeltaFile
+3-0math/openblas/Makefile
+3-01 files

FreeBSD/ports 6932ad0devel/matreshka pkg-plist Makefile, devel/matreshka/files patch-Makefile.build patch-tools_configure_configure-version.adb

devel/matreshka: Sync with main; improve Port

Update and improve:
 * Drop un-testable Oracle DB support
 * Patch build to increase verbosity
 * Patch and modify the Port to reduce update burden with ${PLIST_SUB}
   support, and abstracting the shared object, and GNAT runtime
   version information in pkg-plist
 * Remove all hard-coded version information, freeing the library
   from the current restriction of GNAT-12
 * Set ${MAINTAINER} to ada at FreeBSD.org.
 * Sync with Upstream main

PR:             296453
DeltaFile
+110-137devel/matreshka/pkg-plist
+34-10devel/matreshka/Makefile
+11-0devel/matreshka/files/patch-Makefile.build
+11-0devel/matreshka/files/patch-tools_configure_configure-version.adb
+11-0devel/matreshka/files/patch-Makefile.install
+3-3devel/matreshka/distinfo
+180-1506 files

FreeBSD/ports 22f028fwww/writefreely distinfo Makefile

www/writefreely: update to 0.17.1

Changelog: https://github.com/writefreely/writefreely/releases/tag/v0.17.1
DeltaFile
+9-9www/writefreely/distinfo
+1-1www/writefreely/Makefile
+10-102 files

FreeBSD/ports b802014games/OpenLoco pkg-plist Makefile, games/OpenLoco/files patch-thirdparty_CMakeLists.txt patch-src_Version_include_OpenLoco_Version.hpp

games/OpenLoco: Open source re-implementation of Chris Sawyer's Locomotion

OpenLoco is an open-source re-implementation of Chris Sawyer's
Locomotion (CSL), the spiritual successor to Transport Tycoon. OpenLoco
aims to improve the game similar to how OpenTTD improved Transport
Tycoon, and OpenRCT2 improved RollerCoaster Tycoon.

CSL was originally written in x86 assembly, building on top of the
RollerCoaster Tycoon 2 engine. However, the engine has changed
substantially enough that OpenLoco currently does not share its codebase
with OpenRCT2.

As of December 2025, we have completed reimplementing the game in C++.
It is now our goal to get a solid multiplayer experience working in
OpenLoco. It is also our goal to increase the map and vehicle limits.
However, until creating a new save format (NSF), we are bound to the
limits imposed by the CSL save format (SV5/SC5).

WWW: https://openloco.io/
DeltaFile
+3,574-0games/OpenLoco/pkg-plist
+51-0games/OpenLoco/Makefile
+23-0games/OpenLoco/files/patch-thirdparty_CMakeLists.txt
+15-0games/OpenLoco/files/patch-src_Version_include_OpenLoco_Version.hpp
+15-0games/OpenLoco/pkg-descr
+11-0games/OpenLoco/files/patch-cmake_OpenLocoVersion.cmake
+3,689-04 files not shown
+3,711-010 files

FreeBSD/ports 1c86d2bemulators/fab-agon-emulator Makefile

emulators/fab-agon-emulator: clean up, fix on 16-CURRENT

 - CARGO_CARGO_RUN includes cd ${WRKSRC}, and running it under
   SETENVI means that /usr/bin/cd was executed, which clearly
   didn't do any good.
 - remove double dependency on sdl3
 - spell product name right in COMMENT
 - reflow to 80 columns

PR:             296905
DeltaFile
+25-22emulators/fab-agon-emulator/Makefile
+25-221 files

FreeBSD/ports d1b2fbfdevel/bmk distinfo Makefile

devel/bmk: update to 0.2

Changelog: https://github.com/realchonk/bmk/compare/0.1...0.2
DeltaFile
+3-3devel/bmk/distinfo
+1-1devel/bmk/Makefile
+4-42 files

FreeBSD/ports 6d07705net/gnunet/files patch-meson.build patch-src_lib_util_meson.build

net/gnunet: fix build on armv7

We don't have libatomic and don't need it in any case.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q3
DeltaFile
+14-1net/gnunet/files/patch-meson.build
+10-0net/gnunet/files/patch-src_lib_util_meson.build
+24-12 files

FreeBSD/ports 6833206devel Makefile, devel/sfl-library pkg-plist pkg-descr

devel/sfl-library: C++ datastructure library

This is a header-only C++11 library that provides several new or
lesser-known containers, most of which can be used in C++20 constant
expressions.

Sequence containers: vector, devector, small_vector, static_vector,
compact_vector, segmented_vector, segmented_devector.

Associative containers based on red-black trees: map, set, multimap,
multiset, small_map, small_set, small_multimap, small_multiset,
static_map, static_set, static_multimap, static_multiset.

Unordered associative containers based on hash tables with separate
chaining: unordered_map, unordered_set, unordered_multimap,
unordered_multiset, small_unordered_map, small_unordered_set
small_unordered_multimap, small_unordered_multiset,
static_unordered_map, static_unordered_set, static_unordered_multimap,
static_unordered_multiset.

    [13 lines not shown]
DeltaFile
+137-0devel/sfl-library/pkg-plist
+28-0devel/sfl-library/pkg-descr
+18-0devel/sfl-library/Makefile
+3-0devel/sfl-library/distinfo
+1-0devel/Makefile
+187-05 files

FreeBSD/ports b811b99databases/ladybug/files patch-src_processor_operator_persistent_reader_csv_base__csv__reader.cpp

databases/ladybug: fix build on armv7

Same polyfill as the one for textproc/krep.

See also:       a002d848b52bda537a6d0a90da4616001303f80b
Approved by:    portmgr (build fix blanket)
MFH:            2026Q3
DeltaFile
+39-0databases/ladybug/files/patch-src_processor_operator_persistent_reader_csv_base__csv__reader.cpp
+39-01 files

FreeBSD/ports 12dacbasysutils/snapraid distinfo Makefile

sysutils/snapraid: update to 14.9

Another bug fix release.

Changelog: https://github.com/amadvance/snapraid/releases/tag/v14.9

MFH:            2026Q3
DeltaFile
+3-3sysutils/snapraid/distinfo
+1-1sysutils/snapraid/Makefile
+4-42 files

FreeBSD/ports 2269340comms/inspectrum/files patch-src_traceplot.cpp

comms/inspectrum: fix build on 32 bit platforms

On such platforms size_t is int, not long, causing confusion in
std::max().

Approved by:    portmgr (build fix blanket)
MFH:            2026Q3
DeltaFile
+11-0comms/inspectrum/files/patch-src_traceplot.cpp
+11-01 files

FreeBSD/ports 1b4a1abgraphics/opennurbs Makefile

graphics/opennurbs: BREAK on i386

Redefinition of constructor due to time_t - int type definition.
DeltaFile
+7-3graphics/opennurbs/Makefile
+7-31 files

FreeBSD/ports 27eb66dgraphics/converseen distinfo Makefile

graphics/converseen: Update to 0.15.2.7

ChangeLog: https://converseen.fasterland.net/changelog/

 * Fixed AOM encoder error during AVIF conversions
 * Various Bugfixes
DeltaFile
+3-3graphics/converseen/distinfo
+1-1graphics/converseen/Makefile
+4-42 files

LLVM/project f44f9e5llvm/lib/TargetParser RISCVISAInfo.cpp, llvm/unittests/Target/RISCV RISCVBaseInfoTest.cpp CMakeLists.txt

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1-arichardson
DeltaFile
+50-0llvm/unittests/Target/RISCV/RISCVBaseInfoTest.cpp
+21-0llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+2-0llvm/lib/TargetParser/RISCVISAInfo.cpp
+1-0llvm/unittests/Target/RISCV/CMakeLists.txt
+74-04 files

FreeBSD/ports 2d42613net/ucx Makefile, net/ucx/files patch-src_uct_tcp_tcp__iface.c patch-src_ucs_sys_event__set.c

net/ucx: Guard Linux specific netlink implementation + fixups

PR:             296136
DeltaFile
+77-9net/ucx/files/patch-src_uct_tcp_tcp__iface.c
+29-28net/ucx/Makefile
+39-12net/ucx/files/patch-src_ucs_sys_event__set.c
+28-0net/ucx/files/patch-src_ucp_core_ucp__ep.c
+21-5net/ucx/files/patch-src_ucs_vfs_fuse_vfs__fuse.c
+22-0net/ucx/files/patch-src_uct_base_uct__iface.c
+216-541 files not shown
+232-547 files

LLVM/project 9dab351flang/lib/Lower/OpenMP OpenMP.cpp

format
DeltaFile
+1-1flang/lib/Lower/OpenMP/OpenMP.cpp
+1-11 files

NetBSD/src e1NgQ1Wshare/man/man4/man4.sparc64 auxfan.4

   auxfan(4): use .Ql for the OFW device node name
VersionDeltaFile
1.2+4-3share/man/man4/man4.sparc64/auxfan.4
+4-31 files

LLVM/project 61517a8libcxx/include fstream

[libc++][NFC] Inline fstream functions into the class body (#211738)

The `fstream` member functions are all really short, so inlining them
removes quite a bit of boiler plate code.
DeltaFile
+60-102libcxx/include/fstream
+60-1021 files

LLVM/project 1196889flang/include/flang/Parser parse-tree.h, flang/lib/Lower/OpenMP Clauses.cpp OpenMP.cpp

[flang][OpenMP] Split DEFAULT into DEFAULT(dsa) and DEFAULT(variant)

The 5.0 and 5.1 specs used DEFAULT clause for what is now OTHERWISE.
Separate these two claues to be able to specify their properties
independently.
DeltaFile
+14-16flang/lib/Semantics/resolve-directives.cpp
+7-17flang/lib/Lower/OpenMP/Clauses.cpp
+11-9flang/include/flang/Parser/parse-tree.h
+10-6flang/lib/Parser/openmp-parsers.cpp
+4-6flang/lib/Lower/OpenMP/OpenMP.cpp
+7-1llvm/include/llvm/Frontend/OpenMP/OMP.td
+53-555 files not shown
+63-5911 files

LLVM/project 860c2c9mlir/include/mlir/Dialect/List/IR ListOps.td, mlir/include/mlir/Dialect/List/Transforms Passes.td

more patterns
DeltaFile
+144-0mlir/lib/Dialect/List/Transforms/ListLowerMap.cpp
+123-0mlir/test/Dialect/List/lower-map.mlir
+100-0mlir/lib/Dialect/List/Transforms/ListLowerRange.cpp
+53-0mlir/include/mlir/Dialect/List/IR/ListOps.td
+52-0mlir/test/Dialect/List/lower-range.mlir
+34-0mlir/include/mlir/Dialect/List/Transforms/Passes.td
+506-03 files not shown
+528-09 files

OpenBSD/src onPD6Xzusr.bin/tmux format.c

   Include \n and \t in shell special characters, from Nikolas Skarlatos.
VersionDeltaFile
1.409+2-2usr.bin/tmux/format.c
+2-21 files

LLVM/project 5104dadclang/lib/Analysis CFG.cpp, clang/test/Analysis cfg-compound-assignment-eval-order.cpp loopexit-cfg-output.cpp

[clang][CFG] Fix compound assignment evaluation order (#212115)

CompoundAssignOperator (e.g. `+=`, `-=`, `<<=`) is a distinct StmtClass
deriving from BinaryOperator, but it was not handled in the CFGBuilder
dispatch switches. As a result it fell through to the generic default
path (VisitChildren over reverse_children), which emits the LHS before
the RHS in the CFG.

Per C++17 [expr.ass]/1, all assignment operators - simple and compound -
sequence the right operand before the left operand. Route
CompoundAssignOperator through VisitBinaryOperator (and
VisitBinaryOperatorForTemporaries), whose existing isAssignmentOp()
branch already emits the RHS before the LHS, matching simple assignment.

This mirrors the class of evaluation-order defect fixed for lambda
captures in f3b31871e9b8.

rdar://183253943

Assisted-By: claude
DeltaFile
+66-0clang/test/Analysis/cfg-compound-assignment-eval-order.cpp
+3-3clang/test/Analysis/loopexit-cfg-output.cpp
+2-2clang/test/Sema/warn-unreachable.c
+2-0clang/lib/Analysis/CFG.cpp
+73-54 files