package/xen: fix qemu-xen memfd build failure
authorAlistair Francis <alistair23@gmail.com>
Sun, 8 Apr 2018 18:25:15 +0000 (11:25 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 9 Apr 2018 09:22:21 +0000 (11:22 +0200)
commit6d1060d2610cc07f9f2cac61f9ec2276afc102d5
tree133dff7c5b4f153a70ed9861a097f3e31be76a17
parent4dcfcd17c09b5684e95943de119b95a34c93ad63
package/xen: fix qemu-xen memfd build failure

Fix the QEMU memfd compile error:
tools/qemu-xen/util/memfd.c:40:12: error: static declaration of 'memfd_create' follows non-static declaration
 static int memfd_create(const char *name, unsigned int flags)
            ^~~~~~~~~~~~

that has been introduced since the Glibc 2.27 upgrade.

This just involves porting the upstream QEMU patch to the Xen QEMU tree.

This fixes:
http://autobuild.buildroot.net/results/ec7cda00e07b0c98a9a366244b67611e042e0d4b/

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/xen/0003-memfd-fix-configure-test.patch [new file with mode: 0644]