[VPlan] Generalize getLoadStoreValueType and infer the opcode (NFC). (#233293)
Accept VPInstruction as well as VPReplicateRecipe and determine load
versus store with vputils::getOpcode instead of a caller-supplied
boolean.
graphics/scantpaper: Fix with Python 3.13
- The post-build target runs dev/compile_mo.py with a hardcoded
python3.12, which is not installed when another Python version is
the default, so the build fails. Use ${PYTHON_CMD}.
- The app window and document code import sqlite3 (packaged separately
as databases/py-sqlite3), and imageview/basethread import
typing_extensions, which upstream lists as a dependency. Without
them the scantpaper command and half of the modules fail to import.
Add both to RUN_DEPENDS and bump PORTREVISION.
lang/cim: Mark DEPRECATED
- Switch to DISTVERSION while I am here
- Upstream WWW and MASTER_SITES is no longer available
- Set EXPIRATION_DATE 2026-11-17
(cherry picked from commit 796dca98ee5dc2856dea5a61971572b663fd8696)
lang/cim: Mark DEPRECATED
- Switch to DISTVERSION while I am here
- Upstream WWW and MASTER_SITES is no longer available
- Set EXPIRATION_DATE 2026-11-17
beaglebone: fix sysctl hw.clk crashing the kernel
The clock gate driver on the beaglebone black did not provide a clock rate function, but a clock rate function is mandatory. This caused a null pointer dereference when running "sysctl hw.clk".
[libc][math] Add float-only implementation of tanf (#233046)
Reorganize tanf in the same way as sinf and cosf (#226529):
src/__support/math/tanf.h now selects the implementation, and
tanf_<type>_eval.h implements tanf with <type> as the intermediate
computational type. The existing implementation moves unchanged to
tanf_double_eval.h.
The new float-only implementation in tanf_float_eval.h is selected
under the same conditions as sinf/cosf float_eval:
LIBC_MATH_SKIP_ACCURATE_PASS, LIBC_MATH_SMALL_TABLES or
LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT, and FMA. It reuses the float range
reduction and the SIN_K_PI_OVER_8 table from sincosf_float_eval.h and
computes:
tan(x) = (sin_k + cos_k * tan(y)) / (cos_k - sin_k * tan(y)),
with x = k * pi/8 + y, |y| <= pi/16, and tan(y) approximated by a
degree-9
[20 lines not shown]