lol

ltrace: fix warnings and bugs using patches from debian

For details on the patches applied, see:

https://sources.debian.org/patches/ltrace/0.7.3-6/

Disabling '-Werror' may be a problem in the future again,
but for now keep things simple now that they're fixed.

+8 -4
+8 -4
pkgs/development/tools/misc/ltrace/default.nix
··· 10 10 11 11 buildInputs = [ elfutils libunwind ]; 12 12 13 - preConfigure = 14 - '' 15 - configureFlags="--disable-werror" 16 - makeFlagsArray=(INSTALL="install -c") 13 + prePatch = let 14 + debian = fetchurl { 15 + url = mirror://debian/pool/main/l/ltrace/ltrace_0.7.3-6.debian.tar.xz; 16 + sha256 = "0xc4pfd8qw53crvdxr29iwl8na53zmknca082kziwpvlzsick4kp"; 17 + }; 18 + in '' 19 + tar xf '${debian}' 20 + patches="$patches $(cat debian/patches/series | sed 's|^|debian/patches/|')" 17 21 ''; 18 22 19 23 meta = with stdenv.lib; {