fatrace: fixup build with glibc-2.25
This commit is contained in:
parent
cc8104f9bb
commit
c986f4f894
@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
substituteInPlace power-usage-report \
|
||||
--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)" ];
|
||||
|
Loading…
Reference in New Issue
Block a user