From 734930c23b3e078c105325eb8abe59cd05f93915 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Thu, 1 Jan 2026 16:53:01 +0100 Subject: [PATCH] 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. --- pkgs/by-name/lt/ltrace/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/lt/ltrace/package.nix b/pkgs/by-name/lt/ltrace/package.nix index 573f63608a53..6f560646c8e6 100644 --- a/pkgs/by-name/lt/ltrace/package.nix +++ b/pkgs/by-name/lt/ltrace/package.nix @@ -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;