summaryrefslogtreecommitdiffstats
path: root/package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2017-06-29 16:32:47 -0700
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-01 10:44:57 +0200
commiteaa3d0e2920b4597aa6c8a1e4cf217f0cb7fdf2c (patch)
tree36c896660ac419db42a4e4afab563af6deee3329 /package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch
parent7289d2729db82ed413012b3b1a0f7f13c4530c4f (diff)
downloadbuildroot-eaa3d0e2920b4597aa6c8a1e4cf217f0cb7fdf2c.tar.gz
buildroot-eaa3d0e2920b4597aa6c8a1e4cf217f0cb7fdf2c.zip
package/xen: bump to version 4.9.0
Upgrade the Xen package to Xen 4.9.0. This also means we can remove almost all of the patches we were previously carrying. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch')
-rw-r--r--package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch b/package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch
deleted file mode 100644
index 91019cf99b..0000000000
--- a/package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 796dea37fb229c34740f98bf80f3263d7a4e3c6d Mon Sep 17 00:00:00 2001
-From: Olaf Hering <olaf@aepfle.de>
-Date: Wed, 15 Mar 2017 07:01:34 +0000
-Subject: [PATCH] tools: include sys/sysmacros.h on Linux
-
-Due to a bug in the glibc headers the macros makedev(), major() and
-minor() where available by including sys/types.h. This bug was
-addressed in glibc-2.25 by introducing a warning when these macros are
-used. Since Xen is build with -Werror this new warning cause a compile
-error.
-
-Use sys/sysmacros.h to define these three macros.
-
-blktap2 is already Linux specific. The kernel header which was used to
-get makedev() does not provided it anymore, and it was wrong to use a
-kernel header anyway.
-
-Signed-off-by: Olaf Hering <olaf@aepfle.de>
-Acked-by: Wei Liu <wei.liu2@citrix.com>
-Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
----
- tools/blktap2/control/tap-ctl-allocate.c | 1 +
- tools/libxl/libxl_osdeps.h | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/tools/blktap2/control/tap-ctl-allocate.c b/tools/blktap2/control/tap-ctl-allocate.c
-index 8a6471e987..187cadcde7 100644
---- a/tools/blktap2/control/tap-ctl-allocate.c
-+++ b/tools/blktap2/control/tap-ctl-allocate.c
-@@ -33,6 +33,7 @@
- #include <string.h>
- #include <getopt.h>
- #include <libgen.h>
-+#include <sys/sysmacros.h>
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <sys/ioctl.h>
-diff --git a/tools/libxl/libxl_osdeps.h b/tools/libxl/libxl_osdeps.h
-index a40d62066b..de1d24ecae 100644
---- a/tools/libxl/libxl_osdeps.h
-+++ b/tools/libxl/libxl_osdeps.h
-@@ -39,6 +39,7 @@
- #define SYSFS_PCI_DEV "/sys/bus/pci/devices"
- #define SYSFS_PCIBACK_DRIVER "/sys/bus/pci/drivers/pciback"
- #define NETBACK_NIC_NAME "vif%u.%d"
-+#include <sys/sysmacros.h>
- #include <pty.h>
- #include <uuid/uuid.h>
- #elif defined(__sun__)
---
-2.11.0
-
OpenPOWER on IntegriCloud