meta-virtualization/recipes-extended/kvmtool/files/0001-kvmtool-9p-fixed-compilation-error.patch
Bruce Ashfield 436b60e582 kvmtool: refresh to 5.10 version
Grabbing the latest kvmtool sources. These follow kernel numbering,
so we bump that to 5.10 to match.

We also drop one patch that is part of the main repo now, and
refresh the others to avoid fuzz warnings.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-07 08:43:53 -05:00

26 lines
650 B
Diff

From 6b864b05b7aea74f375502250e99f54564cfe829 Mon Sep 17 00:00:00 2001
From: Dariusz Pelowski <dariusz.pelowski@gmail.com>
Date: Sun, 5 Nov 2017 12:39:52 +0100
Subject: [PATCH] kvmtool: 9p: fixed compilation error
makedev is defined in sys/sysmacros.h
Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com>
---
virtio/9p.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/virtio/9p.c b/virtio/9p.c
index b78f2b3..838c5c4 100644
--- a/virtio/9p.c
+++ b/virtio/9p.c
@@ -16,6 +16,7 @@
#include <string.h>
#include <errno.h>
#include <sys/vfs.h>
+#include <sys/sysmacros.h>
#include <linux/virtio_ring.h>
#include <linux/virtio_9p.h>