diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-13 09:51:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-13 09:51:16 +0000 |
commit | 5d6567e1da25bec0b85d3de14893618c885d9889 (patch) | |
tree | a6fd2b01b5650119b9d01b49de03b1bc98c2300a /community/qemu/MAP_SYNC-fix.patch | |
parent | 8da2624dad504d761040aee449a97941b1c4930c (diff) | |
download | aports-5d6567e1da25bec0b85d3de14893618c885d9889.tar.bz2 aports-5d6567e1da25bec0b85d3de14893618c885d9889.tar.xz |
community/{qemu*,ceph}: move to community
move qemu and ceph to community. Thi sis to reduce maintenenance
workload for security fixes. Upstream qemu appears to have less support
time than 2 years.
Diffstat (limited to 'community/qemu/MAP_SYNC-fix.patch')
-rw-r--r-- | community/qemu/MAP_SYNC-fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/qemu/MAP_SYNC-fix.patch b/community/qemu/MAP_SYNC-fix.patch new file mode 100644 index 0000000000..e13609d731 --- /dev/null +++ b/community/qemu/MAP_SYNC-fix.patch @@ -0,0 +1,22 @@ +diff --git a/util/mmap-alloc.c b/util/mmap-alloc.c +index f7f177d..7598960 100644 +--- a/util/mmap-alloc.c ++++ b/util/mmap-alloc.c +@@ -10,14 +10,16 @@ + * later. See the COPYING file in the top-level directory. + */ + ++#include "qemu/osdep.h" ++ + #ifdef CONFIG_LINUX + #include <linux/mman.h> ++#include <asm-generic/mman.h> /* for ppc64le */ + #else /* !CONFIG_LINUX */ + #define MAP_SYNC 0x0 + #define MAP_SHARED_VALIDATE 0x0 + #endif /* CONFIG_LINUX */ + +-#include "qemu/osdep.h" + #include "qemu/mmap-alloc.h" + #include "qemu/host-utils.h" + |