fatrace: fixup build with glibc-2.25
This commit is contained in:
parent
cc8104f9bb
commit
c986f4f894
@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace power-usage-report \
|
substituteInPlace power-usage-report \
|
||||||
--replace "'which'" "'${which}/bin/which'"
|
--replace "'which'" "'${which}/bin/which'"
|
||||||
|
|
||||||
|
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
|
||||||
|
sed 1i'#include <sys/sysmacros.h>' -i fatrace.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user