ltrace: fix compilation with GCC15

With GCC15 a pointer conversion in the code was triggering an
error (see commit message of the referenced patch for details).

Upstream PR has been filed with the fix so we can hopefully drop the
patch whenever it is accepted and we migrate to the 0.8.x branch of
ltrace.
This commit is contained in:
Andreas Rammhold
2026-01-01 16:53:01 +01:00
parent 1c4d72de11
commit 734930c23b

View File

@@ -53,6 +53,11 @@ stdenv.mkDerivation {
url = "https://github.com/gentoo/gentoo/raw/a2eb7e103ec985ff90f59e722e0a8a43373972a2/dev-debug/ltrace/files/ltrace-0.7.3-print-test-pie.patch";
hash = "sha256-QRsUoN3WLzfiY5GDPwVYXtJPFMJt6rcc6eE96SAtI6Q=";
})
# fix pointer conversion warning with Gcc15
(fetchurl {
url = "https://gitlab.com/cespedes/ltrace/-/commit/d888b448740abd4d5846535ef1dc5ba1c74a134a.patch";
hash = "sha256-9XAeulMUUvLh6Q9ppSL6d5kA2UPPyzCjwibcXH260Bo=";
})
];
doCheck = true;