summaryrefslogtreecommitdiffstats
path: root/package/xen/0003-tools-blktap2-Fix-missing-header-file.patch
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2017-04-12 07:54:13 -0700
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-12 21:06:47 +0200
commit66a6cc750add7b10665ea27b810969dbffaf447a (patch)
tree6dcb98d45159b9e6f7bfc1338413e80602f18074 /package/xen/0003-tools-blktap2-Fix-missing-header-file.patch
parentc07a46b0ceef9e909b5274f08d00064a5d3410a4 (diff)
downloadbuildroot-66a6cc750add7b10665ea27b810969dbffaf447a.tar.gz
buildroot-66a6cc750add7b10665ea27b810969dbffaf447a.zip
package/xen: Update to version 4.8.1
Update Xen to version 4.8.1 and update the patches to allow Xen hypervisor and Xen tools to build. The patches applied were re-aranged a little bit. Patches 2, 3 and 4 have been accepted by upstream Xen and won't be required in future releases. Patch 1 (previously patch 2) is still required and was moved to patch 1 to better reflect it's status. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xen/0003-tools-blktap2-Fix-missing-header-file.patch')
-rw-r--r--package/xen/0003-tools-blktap2-Fix-missing-header-file.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/xen/0003-tools-blktap2-Fix-missing-header-file.patch b/package/xen/0003-tools-blktap2-Fix-missing-header-file.patch
new file mode 100644
index 0000000000..5d6f0cb4a2
--- /dev/null
+++ b/package/xen/0003-tools-blktap2-Fix-missing-header-file.patch
@@ -0,0 +1,31 @@
+From 1226317351b4154ed6460b778f2490614f47b9d4 Mon Sep 17 00:00:00 2001
+From: Alistair Francis <alistair.francis@xilinx.com>
+Date: Tue, 20 Dec 2016 11:46:59 -0800
+Subject: [PATCH] tools/blktap2: Fix missing header file
+
+To avoid build errors relating to missing declarations of ssize_t add
+the appropriate header file to atomic.h.
+
+Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
+Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
+Acked-by: Wei Liu <wei.liu2@citrix.com>
+---
+ tools/blktap2/include/atomicio.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tools/blktap2/include/atomicio.h b/tools/blktap2/include/atomicio.h
+index 7eccf20..5a1120e 100644
+--- a/tools/blktap2/include/atomicio.h
++++ b/tools/blktap2/include/atomicio.h
+@@ -25,6 +25,8 @@
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
++#include <sys/types.h>
++
+ /*
+ * Ensure all of data on socket comes through. f==read || f==vwrite
+ */
+--
+2.7.4
+
OpenPOWER on IntegriCloud