Debian Patches

Status for ldc/1:1.42.0-2

Patch Description Author Forwarded Bugs Origin Last update
i386_int128_alignment.patch Adjust int128 alignment
Note (Debian, Fabio Fantoni): the equivalent upstream fix in
dlang/dmd was merged (PR #14768) but later lost in a re-sync of
dmd/common/int128.d; both dlang/dmd master and the copy shipped with
LDC 1.42.0 are back to `align(16) struct Cent`, so this backport is
still needed.
Walter Bright <WalterBright@users.noreply.github.com> yes upstream backport, https://github.com/dlang/dmd/pull/14768 2026-05-26
Don-t-emit-install-time-rpath-in-50-target-default.conf.patch Don't emit install-time rpath in 50-target-default.conf
LDC 1.42 refactored ldc2.conf generation into a conf directory and, as a
side effect, started writing `rpath = "/usr/lib"` into the install section
of the generated 50-target-default.conf. That value ends up as DT_RUNPATH
in every binary linked against the shared D runtime, tripping lintian's
custom-library-search-path (E) on all D packages (gir-to-d, glib-d, gtk-d,
tilix, ...).

The rpath is both redundant and stale for the Debian layout: the shared
runtime libraries are relocated by the .install files into the multiarch
directory (/usr/lib/<triplet>), which is already part of ld.so's default
search path, so no DT_RUNPATH is needed. Pointing it at the multiarch dir
would not help either, as any public library directory is still flagged by
lintian; only a package-private subdir would be exempt.

Drop the RPATH argument from the INSTALL section so makeConfSection omits
the line entirely. Passing an empty value is avoided on purpose because it
would emit `rpath = "";` instead of no line at all. The BUILD-time rpath is
left untouched (needed for the in-tree build/test runners).
Fabio Fantoni <fantonifabio@tiscali.it> not-needed 2026-06-20

All known versions for source package 'ldc'

Links