summaryrefslogtreecommitdiffstats
path: root/package/kvmtool/0005-Fix-call-to-connect.patch
diff options
context:
space:
mode:
authorMatt Weber <matthew.weber@rockwellcollins.com>2017-12-06 22:19:56 -0600
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-08 17:48:13 +0100
commitf20615b53e83d6263346cb038d59df8e8d6b2b74 (patch)
tree8efc8b72d2d544299ec825765b428d83e87908f7 /package/kvmtool/0005-Fix-call-to-connect.patch
parente0b9052cf0ec4198b95cebc97f0fa65209510bad (diff)
downloadbuildroot-f20615b53e83d6263346cb038d59df8e8d6b2b74.tar.gz
buildroot-f20615b53e83d6263346cb038d59df8e8d6b2b74.zip
kvmtool: bump to f77d646ba0
Upstream Commit: 2017-11-03 16:19:58 +0000 irq.h: fix compilation error due to missing bool type The following patches were updated/removed. - 0001-avoid-redefining-PAGE_SIZE.patch is removed, as it has been merged upstream as of commit 4095fac8 - 0002-x86-kvm-cpu.c-don-t-include-asm-msr-index.h.patch is removed, as it has been merged upstream as of commit 1cc05b24 - 0003-use-poll.h-instead-of-sys-poll.h.patch is removed, as it has been merged upstream as of commit 52c22e6e - 0004-check-for-and-use-C-library-provided-strlcpy-and-str.patch is removed, as it has been merged upstream as of commit 8f22adc4 - 0005-Fix-call-to-connect.patch is removed, as it has been merged upstream as of commit d77bd4f4 Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kvmtool/0005-Fix-call-to-connect.patch')
-rw-r--r--package/kvmtool/0005-Fix-call-to-connect.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/package/kvmtool/0005-Fix-call-to-connect.patch b/package/kvmtool/0005-Fix-call-to-connect.patch
deleted file mode 100644
index 434ca34b2f..0000000000
--- a/package/kvmtool/0005-Fix-call-to-connect.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From d375235f49184371026791ae8f6f9dc307de8a61 Mon Sep 17 00:00:00 2001
-From: Andre Przywara <andre.przywara@arm.com>
-Date: Fri, 17 Jul 2015 17:02:14 +0100
-Subject: [PATCH] Fix call to connect()
-
-According to the manpage and the prototype the second argument to
-connect(2) is a "const struct sockaddr*", so cast our protocol
-specific type back to the super type.
-This fixes compilation on musl-libc.
-
-Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-Signed-off-by: Will Deacon <will.deacon@arm.com>
-[backport from upstream commit d77bd4f466f341d4b35fe8b91176ef8a37160e19.]
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- kvm-ipc.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/kvm-ipc.c b/kvm-ipc.c
-index b1c43dd..5a0b6e0 100644
---- a/kvm-ipc.c
-+++ b/kvm-ipc.c
-@@ -99,7 +99,7 @@ int kvm__get_sock_by_instance(const char *name)
- strlcpy(local.sun_path, sock_file, sizeof(local.sun_path));
- len = strlen(local.sun_path) + sizeof(local.sun_family);
-
-- r = connect(s, &local, len);
-+ r = connect(s, (struct sockaddr *)&local, len);
- if (r < 0 && errno == ECONNREFUSED) {
- /* Tell the user clean ghost socket file */
- pr_err("\"%s\" could be a ghost socket file, please remove it",
---
-2.9.4
-
OpenPOWER on IntegriCloud