xen: fixup build with glibc-2.25
This commit is contained in:
parent
cbc343e5e7
commit
3d600726b3
@ -74,6 +74,11 @@ stdenv.mkDerivation {
|
|||||||
${flip concatMapStrings xenExtfiles (x: let src = fetchurl x; in ''
|
${flip concatMapStrings xenExtfiles (x: let src = fetchurl x; in ''
|
||||||
cp ${src} xen_ext_files/${src.name}
|
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 = ''
|
preConfigure = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user