lutok: import lutok-0.7.0
This change adds lutok lutok-0.7.0 from [upstream][1].
The lutok-0.7.0 artifact was been verified by [SHA256 checksum][3].
This is a major cleanup release. A lot of credit goes to mchoo@ for all of the
hard work submitted in #13 🎉.
The API should not change in a noticeable way to consumers, e.g., a number of
"transparent" changes like const poisoning was done with methods, etc.
Iterative builds will require rebuilding lutok from scratch--which should
happen naturally, given how header dependencies [should] be treated with make.
More information about the release (from a high level) can be found in
the [release notes][4].
Updated via [`update_lutok.sh`][4] like: `update_lutok.sh 0.7.0 lutok-0.7.0`.
[4 lines not shown]
security/{pecl|php}-mcrypt: Convert port
Pecl package available only for PHP 7.2 and above
Please note that pecl infrastructure is being deprecated so create a
different port which is not dependent on pecl infrastructure.
This commit also removes pecl-mcrypt ports in lieu of this port and
updates reverse dependency.
WWW: https://pecl.php.net/package/mcrypthttps://github.com/php/pecl-encryption-mcrypt/
audio/p5-Net-FreeDB: Mark DEPRECATED
- Client for the defunct freedb.org service
- Use audio/p5-MusicBrainz-DiscID (MusicBrainz) instead
- Switch to DISTVERSION while I am here
- Set EXPIRATION_DATE 2026-12-24
- No consumers in the tree
www/p5-WebService-IMDB: Mark DEPRECATED
- Relies on IMDb's retired app.imdb.com API
- No consumers in the tree
- Switch to DISTVERSION while I am here
- Set EXPIRATION_DATE 2026-12-24
[Clang][OpenMP] Allow array shaping as the base of array sections in target update (#244591)
Fixes #136294
`target update from((([nx][ny+2])a)[0:nx][1])`, the array shaping
example from the OpenMP Examples, fails with "array shaping operation is
not allowed here": the shaped expression only has a placeholder type, so
there is no array to take a section of.
The shaping expression now carries the array type the spec gives it, and
sections use it like a declared array's type, so the existing checks and
non-contiguous codegen apply as they are. The example also needs two
sections of one variable in a motion clause not to hit the 4.5 map rule,
and `target update` to treat a section it cannot prove contiguous as
non-contiguous.
Two neighbouring bugs surfaced on the way and are fixed here as well:
the size of a `depend` or `affinity` section whose elements are variable
length arrays stopped one element into the last row, and a shaping
[2 lines not shown]
[libc++] Fix discrete_distribution probability rounding
discrete_distribution::probabilities() computes the final probability as
one minus the last cumulative probability,
producing a negative value when rounding pushes that cumulative probability
above one.
The standard specifies p_k = w_k / S in
[rand.dist.samp.discrete]/2
and requires probabilities() to return p_k in
[rand.dist.samp.discrete]/12,
so a zero weight must have zero probability.
Accumulate the original weights before normalizing the cumulative sums to
keep them in [0, 1] and preserve trailing zero probabilities.
Since each cumulative weight is bounded by the total computed in the same
order, dividing by that total keeps the last cumulative probability at most
one, so subtracting it from one cannot produce a negative probability.
Assisted By: GPT-6.1 Sol
[clang][Sema] Add regression test for GH114174 (#233663)
PR #143423 fixed the assertion failure reported in #114174, but did not
add coverage for the original reproducer
Add a SemaTemplate regression test that verifies the invalid program
emits the expected diagnostics without crashing
Fixes #114174
[libc++] Fix discrete_distribution probability rounding
Normalizing weights before accumulating them could make discrete_distribution::probabilities() return a negative probability for a trailing zero weight. [rand.dist.samp.discrete] requires probabilities() to return p_k = w_k / S, so a zero weight must have zero probability. Accumulate the original weights before normalizing the cumulative sums to keep them in [0, 1] and preserve trailing zero probabilities.
[llvm-size] Refactor output formatting into SizePrinter classes (NFC) (#243385)
Introduce a class-based SizePrinter abstraction (SummarySizePrinter,
BerkeleySizePrinter, SysVSizePrinter, DarwinSizePrinter) to encapsulate
format-specific state and output logic instead of branching on
OutputFormat across printObject and printObjectSectionSizes.
Move per-run state (HeaderPrinted and totals) from file-scope globals
into printer instances, preparing llvm-size for cleanly adding
additional output formats such as GNU (-G / --format=gnu) and JSON.
Assisted-by: Gemini