xen_4_8: fix build w/glibc-2.30

The header (and the `sysctl`-function) were unused, so the inclusion can be
removed safely.

This was done by upstream in 4.9 as well[1].

[1] https://github.com/xen-project/xen/commit/74858c9eaf335658b4c19cb4a848bb721065c233
This commit is contained in:
Maximilian Bosch
2020-01-23 00:21:22 +01:00
parent c3c2e67221
commit ad2fd68cff
+4 -1
View File
@@ -185,7 +185,10 @@ callPackage (import ./generic.nix (rec {
# 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
-i tools/libxl/libxl_device.c \
-i tools/qemu-xen/hw/9pfs/9p.c
sed -i -e '/sys\/sysctl\.h/d' tools/blktap2/drivers/block-remus.c
'';
passthru.qemu-system-i386 = if withInternalQemu