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.
This commit is contained in:
parent
42d3b536c6
commit
3ecad27032
@ -10,10 +10,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ elfutils libunwind ];
|
buildInputs = [ elfutils libunwind ];
|
||||||
|
|
||||||
preConfigure =
|
prePatch = let
|
||||||
''
|
debian = fetchurl {
|
||||||
configureFlags="--disable-werror"
|
url = mirror://debian/pool/main/l/ltrace/ltrace_0.7.3-6.debian.tar.xz;
|
||||||
makeFlagsArray=(INSTALL="install -c")
|
sha256 = "0xc4pfd8qw53crvdxr29iwl8na53zmknca082kziwpvlzsick4kp";
|
||||||
|
};
|
||||||
|
in ''
|
||||||
|
tar xf '${debian}'
|
||||||
|
patches="$patches $(cat debian/patches/series | sed 's|^|debian/patches/|')"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user