NetBSD/pkgsrc-wip 6dd4a5czimh distinfo Makefile

zimh: update to 2026.05.09
DeltaFile
+3-3zimh/distinfo
+2-2zimh/Makefile
+5-52 files

FreeBSD/doc cd3eb1ashared releases.adoc

releases.adoc: Fix rel-legacy-next macro

Signed-off-by:  bigsneaky at duck.com
Fixes:          ff71b333bffa (releases: define rel-latest macro)
Closes:         https://https://github.com/freebsd/freebsd-doc/pull/662
DeltaFile
+1-1shared/releases.adoc
+1-11 files

pkgng/pkgng 33be842libpkg pkg_config.c plugins.c, libpkg/private pkg.h

refactor: convert repos and plugins from linked list to vec
DeltaFile
+17-20libpkg/pkg_config.c
+13-12libpkg/plugins.c
+0-1libpkg/private/pkg.h
+30-333 files

pkgng/pkgng a360f8alibpkg/private pkg.h

cleanup: remove now unused macros
DeltaFile
+0-2libpkg/private/pkg.h
+0-21 files

pkgng/pkgng 44fa66blibpkg pkg_jobs.c, libpkg/private pkg_jobs.h

refactor: convert job_pattern linked list to vec
DeltaFile
+20-22libpkg/pkg_jobs.c
+9-9libpkg/private/pkg_jobs.h
+29-312 files

pkgng/pkgng e6be668libpkg pkg.c pkg_abi.c, libpkg/private pkg.h

refactor: use _Generic to simplify list cleanup
DeltaFile
+23-23libpkg/pkg.c
+24-0libpkg/private/pkg.h
+9-10libpkg/pkg_abi.c
+4-4libpkg/triggers.c
+2-2libpkg/pkg_checksum.c
+2-2tests/lib/kv.c
+64-419 files not shown
+75-5215 files

pkgng/pkgng bc0bd65libpkg pkg_printf.c utils.c, libpkg/private pkg_jobs.h

cleanup: remove orphan utlist.h includes
DeltaFile
+0-1libpkg/pkg_printf.c
+0-1libpkg/private/pkg_jobs.h
+0-1libpkg/utils.c
+0-33 files

pkgng/pkgng 50cff41libpkg pkg_deps.c pkgdb_iterator.c, libpkg/private pkg_deps.h

refactor: convert dep formula parser from DL lists to vec

Replace the 4 DL linked list structs in the dependency formula parser
(pkg_dep_formula, pkg_dep_formula_item, pkg_dep_version_item,
pkg_dep_option_item) with vec types stored inline.

Parser builds structs on the stack and pushes by value, transferring
ownership of inner vecs via shallow copy. This eliminates all per-element
heap allocations in the formula parser.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+124-102libpkg/pkg_deps.c
+14-13libpkg/private/pkg_deps.h
+9-5libpkg/pkgdb_iterator.c
+3-3tests/lib/deps_formula.c
+1-1tests/fuzz/fuzz_deps.c
+151-1245 files

pkgng/pkgng 88a53bflibpkg pkg_audit.c, libpkg/pkg audit.h

refactor: convert pkg_audit_issue linked list to vec
DeltaFile
+2-12libpkg/pkg_audit.c
+4-3src/audit.c
+3-3libpkg/pkg/audit.h
+9-183 files

pkgng/pkgng fe48378libpkg pkg_event.c pkg.h.in, src event.c

refactor: events are now a table of pointers

This avoid the huge switch case and make it testable for completeness
with _Static_assert
DeltaFile
+641-375src/event.c
+498-340libpkg/pkg_event.c
+2-1libpkg/pkg.h.in
+1,141-7163 files

pkgng/pkgng 92c71f0libpkg fetch_libfetch.c, libpkg/private pkg.h

cleanup: remove utlist.h from pkg.h and unused LL_FREE/DL_FREE macros
DeltaFile
+0-22libpkg/private/pkg.h
+1-0libpkg/fetch_libfetch.c
+1-222 files

pkgng/pkgng 8d339f6libpkg pkg_osvf.c pkg_audit.c, libpkg/pkg audit.h

refactor: convert audit linked lists to vec, remove ref mechanism

Replace all linked lists in the audit system (pkg_audit_entry,
pkg_audit_package, pkg_audit_pkgname, pkg_audit_versions_range,
pkg_audit_cve) with vec types stored inline.

Remove the ref (reference entry) mechanism entirely. Instead of
creating lightweight copies that borrow pointers from the original
entry, the preprocess index now carries (entry, pkg_idx, name_idx)
triples to identify which package/name within an entry matched.
DeltaFile
+100-269libpkg/pkg_osvf.c
+114-118libpkg/pkg_audit.c
+40-43tests/lib/pkg_osvf.c
+13-23libpkg/pkg/audit.h
+18-7libpkg/private/pkg_osvf.h
+13-11src/audit.c
+298-4716 files

pkgng/pkgng 8390bf3libpkg pkg_printf.c

fix: handle trailing %% in printf format strings

Found by fuzz_printf: a format string ending with %% causes a
timeout because parse_format does not advance past the trailing
null byte.  Add an early check in process_format_trailer() to
emit a literal %% and return when %% is the last character.
DeltaFile
+7-0libpkg/pkg_printf.c
+7-01 files

pkgng/pkgng eadd024libpkg pkg.c pkgdb_iterator.c, libpkg/private pkg.h

refactor: use insert_sorted for files, dirs, config_files, conflicts
DeltaFile
+43-50libpkg/pkg.c
+2-16libpkg/pkgdb_iterator.c
+5-4libpkg/pkg_jobs_conflicts.c
+0-5libpkg/pkg_manifest.c
+4-0libpkg/private/pkg.h
+54-755 files

pkgng/pkgng 3d0e6f7tests/fuzz fuzz_trigger.c fuzz_keyword.c

feat: add fuzzing harnesses

for:
 * manifest, osvf, repo meta parsing,
 * keyword and trigger schema validation
 * deps, printf and plist parsing
 * ELF analysis and package opening
 * elf abi and shlib parsing
 * pkg_checksum_is_valid() with arbitrary strings
 * pkg_message_from_str() with fuzzed UCL/JSON
 * Lua script UCL parsing
 * yuarel URL parser (scheme, host, port, query)
 * CPE string format parsing
 * path functions
 * chmod-style permission strings
 * filelist serialization with fuzzed entries
 * annotations
DeltaFile
+136-0tests/fuzz/fuzz_trigger.c
+113-0tests/fuzz/fuzz_keyword.c
+85-0tests/fuzz/fuzz_filelist.c
+77-0tests/fuzz/fuzz_annotation.c
+56-0tests/fuzz/Makefile.in
+53-0tests/fuzz/fuzz_lua_script.c
+520-020 files not shown
+1,238-126 files

pkgng/pkgng e7039e5libpkg pkg_solve.c

refactor: convert solver variable chain and rule items to slice/vec

Replace the solver variable DL chain with solve_var_slice_t — a simple
{begin, count} view into the flat variables array. Since variables for
the same UID are already allocated consecutively, no extra allocation
is needed beyond the slice struct itself.

Replace the rule items DL chain with vec_t(struct pkg_solve_item),
eliminating per-item heap allocations.

Remove the unused pkg_solve_impl_graph struct.
DeltaFile
+168-157libpkg/pkg_solve.c
+168-1571 files

pkgng/pkgng 50ac858libpkg pkg_checksum.c

fix: plug memory leak checksum
DeltaFile
+48-59libpkg/pkg_checksum.c
+48-591 files

pkgng/pkgng f39ee59libpkg pkg.c pkg_attributes.c, libpkg/private pkg.h

cleanup: struct pkg lists are now always sorted
DeltaFile
+0-49tests/lib/kv.c
+0-12libpkg/pkg.c
+0-8libpkg/pkg_attributes.c
+0-3libpkg/pkg_jobs.c
+0-2libpkg/private/pkg.h
+0-1libpkg/pkg_manifest.c
+0-756 files

pkgng/pkgng b2c1134libpkg pkg.c backup_lib.c, libpkg/private pkg.h

refactor: convert pkg->files from DL list + hash to sorted vec

Replace the doubly-linked list + pkghash (filehash) for package files
with a sorted vec_t(struct pkg_file) using bsearch for lookups.
DeltaFile
+64-31libpkg/pkg.c
+31-26libpkg/private/pkg.h
+5-9libpkg/backup_lib.c
+7-1libpkg/pkg_attributes.c
+4-2libpkg/pkg_jobs_conflicts.c
+5-0libpkg/pkg_manifest.c
+116-696 files not shown
+126-7812 files

pkgng/pkgng 78e5226libpkg pkg_jobs_universe.c pkg_solve.c, libpkg/private pkg_jobs.h

refactor: convert pkg_job_provide DL chain to vec
DeltaFile
+17-24libpkg/pkg_jobs_universe.c
+5-5libpkg/pkg_solve.c
+1-1libpkg/private/pkg_jobs.h
+23-303 files

pkgng/pkgng c851979libpkg pkg_jobs.c pkg_jobs_universe.c, libpkg/private pkg_jobs.h

refactor: convert request item DL chain to vec

Replace the doubly-linked list of pkg_job_request_item with
request_itemv_t (vec of inline items). This eliminates per-item heap
allocations and simplifies iteration/deletion in the solver and
upgrade chain processing.
DeltaFile
+23-35libpkg/pkg_jobs.c
+8-12libpkg/pkg_jobs_universe.c
+9-7libpkg/pkg_solve.c
+6-6libpkg/pkg_jobs_conflicts.c
+2-2libpkg/private/pkg_jobs.h
+2-2libpkg/pkg_cudf.c
+50-646 files

pkgng/pkgng 221a924libpkg pkg_deps.c pkg.c

fix: harden input validation found by fuzzing

- pkg_deps_parse_formula: handle empty/whitespace-only input gracefully
  instead of asserting on NULL cur_item.name
- pkg_abi_from_string: handle empty version after ':' for wildcard ABI
  (e.g. "*:") instead of asserting in pkg_abi_string_only_major_version
- pkg_addshlib_required: accept empty name gracefully instead of
  asserting
DeltaFile
+16-4libpkg/pkg_deps.c
+2-1libpkg/pkg.c
+1-1libpkg/pkg_abi.c
+19-63 files

pkgng/pkgng d4a4dbblibpkg pkg_deps.c

fix: handle empty string in pkg_deps_parse_formula()

Found by fuzz_deps: passing an empty string triggers an assertion
failure at line 262 (cur_item != NULL in st_parse_comma state).
Add an early return for NULL or empty input.
DeltaFile
+3-0libpkg/pkg_deps.c
+3-01 files

pkgng/pkgng e5d0ce8libpkg pkg.c pkg_attributes.c, libpkg/private pkg.h

refactor: convert depends and rdepends from DL list + hash to sorted vec
DeltaFile
+110-53libpkg/pkg.c
+19-16libpkg/private/pkg.h
+14-1libpkg/pkg_attributes.c
+12-2libpkg/pkg_solve.c
+4-3libpkg/pkg_cudf.c
+2-2tests/frontend/rubypuppet.sh
+161-771 files not shown
+162-787 files

pkgng/pkgng 3947bf1libpkg pkg.c pkg_attributes.c, libpkg/private pkg.h

refactor: convert dirs, config_files, conflicts from DL list + hash to sorted vec
DeltaFile
+167-59libpkg/pkg.c
+58-49libpkg/private/pkg.h
+23-5libpkg/pkg_attributes.c
+12-14libpkg/pkg_jobs_conflicts.c
+13-2libpkg/pkgdb_iterator.c
+2-6libpkg/repo/binary/query.c
+275-1355 files not shown
+289-14611 files

pkgng/pkgng cda5a94libpkg pkg_jobs_universe.c pkg_jobs.c, libpkg/private pkg_jobs.h

refactor: replace universe item DL chain with vec

Replace the circular doubly-linked list of pkg_job_universe_item (keyed
by UID) with universe_itemv_t (vec of heap-allocated item pointers).
The pkghash maps uid -> universe_itemv_t * for O(1) lookup + indexed
access to all variants of a package.

This eliminates the prev/next/inhash fields, removes all circular
"rewind to head" patterns in the solver, and simplifies the double-nested
conflict traversals. Items remain heap-allocated for pointer stability
(request items and solver variables store item pointers).
DeltaFile
+76-67libpkg/pkg_jobs_universe.c
+52-45libpkg/pkg_jobs.c
+42-42libpkg/pkg_cudf.c
+38-27libpkg/pkg_jobs_conflicts.c
+28-31libpkg/pkg_solve.c
+10-11libpkg/private/pkg_jobs.h
+246-2236 files

LLVM/project 68a1706llvm/test/Transforms/LoopVectorize predicated-single-exit.ll

[LV] Fix dead early exit in test. NFC (#198813)

The early exit in this test is dead because the predicated block's
condition (< 0) means the exit cond (== 1) can't be met.
DeltaFile
+4-4llvm/test/Transforms/LoopVectorize/predicated-single-exit.ll
+4-41 files

LLVM/project 313ab4dllvm/runtimes CMakeLists.txt

Revert "[cmake][runtimes] Pass variable type for passthrough CMake options" (#198739)

Reverts llvm/llvm-project#198505 per breakage reported in
https://github.com/llvm/llvm-project/pull/198505#issuecomment-4496493320
DeltaFile
+0-8llvm/runtimes/CMakeLists.txt
+0-81 files

LLVM/project 4b93c1b.github/workflows/unprivileged-download-artifact action.yml

[workflows] Dedupe artifacts by name in unprivileged-download-artifact (#198792)

Manual workflow rerun uploads fresh artifacts alongside the old ones
with the same name. And as a result, PR comments regarding the tests
status are not updated.

Example: https://github.com/llvm/llvm-project/pull/198766 - CI is
passing after reruns (there was a sporadic issue), but the comments
after rerun are not updated
DeltaFile
+10-3.github/workflows/unprivileged-download-artifact/action.yml
+10-31 files

LLVM/project 19b89acllvm/lib/Target/AMDGPU VOP3Instructions.td, llvm/test/CodeGen/AMDGPU integer-mad-patterns.ll

[AMDGPU] Only fold mul24+add into V_MAD_U64_U32 when operands fit in 24 bits (#198729)

V_MAD_U64_U32 does a full 32x32 multiply, but AMDGPUmul_u24 only uses
the low 24 bits. simplifyMul24 strips outer AND masks, so the fold can
silently include nonzero bits 24-31 that should not actually have any
impact on the result
DeltaFile
+221-47llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
+18-1llvm/lib/Target/AMDGPU/VOP3Instructions.td
+239-482 files