Commit 734930c2 authored by Andreas Rammhold's avatar Andreas Rammhold
Browse files

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.
parent 1c4d72de
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;