3
0
Fork 0
forked from mirrors/nixpkgs

xen: fixup build with glibc-2.25

This commit is contained in:
Vladimír Čunát 2017-02-21 18:26:52 +01:00
parent cbc343e5e7
commit 3d600726b3
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -74,6 +74,11 @@ stdenv.mkDerivation {
${flip concatMapStrings xenExtfiles (x: let src = fetchurl x; in ''
cp ${src} xen_ext_files/${src.name}
'')}
# Avoid a glibc >= 2.25 deprecation warnings that get fatal via -Werror.
sed 1i'#include <sys/sysmacros.h>' \
-i tools/blktap2/control/tap-ctl-allocate.c \
-i tools/libxl/libxl_device.c
'';
preConfigure = ''