diff options
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu/0001-qemu-Do-not-include-file-if-not-exists.patch | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 972767615d..530ee82fa9 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
| @@ -35,6 +35,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ | |||
| 35 | file://CVE-2020-7039-3.patch \ | 35 | file://CVE-2020-7039-3.patch \ |
| 36 | file://0001-Add-enable-disable-udev.patch \ | 36 | file://0001-Add-enable-disable-udev.patch \ |
| 37 | file://CVE-2020-7211.patch \ | 37 | file://CVE-2020-7211.patch \ |
| 38 | file://0001-qemu-Do-not-include-file-if-not-exists.patch \ | ||
| 38 | " | 39 | " |
| 39 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" | 40 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" |
| 40 | 41 | ||
diff --git a/meta/recipes-devtools/qemu/qemu/0001-qemu-Do-not-include-file-if-not-exists.patch b/meta/recipes-devtools/qemu/qemu/0001-qemu-Do-not-include-file-if-not-exists.patch new file mode 100644 index 0000000000..eccac0509c --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/0001-qemu-Do-not-include-file-if-not-exists.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 98c2da129db19ee63d7e21b77a0ef70822c95069 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Oleksiy Obitotskyy <oobitots@cisco.com> | ||
| 3 | Date: Wed, 25 Mar 2020 21:21:35 +0200 | ||
| 4 | Subject: [PATCH] qemu: Do not include file if not exists | ||
| 5 | |||
| 6 | Script configure checks for if_alg.h and check failed but | ||
| 7 | if_alg.h still included. | ||
| 8 | |||
| 9 | Upstream-status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07188.html] | ||
| 10 | Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> | ||
| 11 | --- | ||
| 12 | linux-user/syscall.c | 2 ++ | ||
| 13 | 1 file changed, 2 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/linux-user/syscall.c b/linux-user/syscall.c | ||
| 16 | index fc18f244..68d62666 100644 | ||
| 17 | --- a/linux-user/syscall.c | ||
| 18 | +++ b/linux-user/syscall.c | ||
| 19 | @@ -106,7 +106,9 @@ | ||
| 20 | #include <linux/blkpg.h> | ||
| 21 | #include <netpacket/packet.h> | ||
| 22 | #include <linux/netlink.h> | ||
| 23 | +#if defined(CONFIG_AF_ALG) | ||
| 24 | #include <linux/if_alg.h> | ||
| 25 | +#endif | ||
| 26 | #include "linux_loop.h" | ||
| 27 | #include "uname.h" | ||
| 28 | |||
| 29 | -- | ||
| 30 | 2.20.1 | ||
| 31 | |||
