Debian Patches

Status for gir-to-d/0.23.4-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Fix-FTBFS-with-ldc-1.42-avoid-inout-associative-arra.patch Fix FTBFS with ldc 1.42: avoid inout associative-array value type
The new templated associative-array implementation in ldc 1.42
(core.internal.newaa) rejects an AA whose value type is `inout`,
because it would generate an Entry struct with an `inout` field:

Error: variable
core.internal.newaa.Entry!(string, inout(Node)*).Entry.value
- only parameters or stack-based variables can be `inout`

LinkedHashMap.opEquals was qualified `inout`, which made the value
type of its `data` associative array `inout(Node)*`; comparing two
such AAs (`data == that.data`) instantiated the rejected Entry and
broke the build of every module pulling in GirStruct.

Qualify opEquals with `const` instead: it is the idiomatic opEquals
signature, callable from mutable/const/immutable receivers, and
`inout` gave no benefit here since the return type is bool.
Fabio Fantoni <fantonifabio@tiscali.it> no 2026-06-20

All known versions for source package 'gir-to-d'

Links