Accepting request 519134 from Virtualization

1

OBS-URL: https://build.opensuse.org/request/show/519134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spice-vdagent?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2017-08-28 14:17:23 +00:00 committed by Git OBS Bridge
commit 70b27c932e
3 changed files with 37 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 27 12:20:36 UTC 2017 - msuchanek@suse.com
- Fix warning in vdagentd-do-endian-swapping.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 20 13:56:35 UTC 2017 - msuchanek@suse.com Mon Feb 20 13:56:35 UTC 2017 - msuchanek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package spice-vdagent # spec file for package spice-vdagent
# #
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany. # Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties

View File

@ -717,3 +717,34 @@ index a1bbf71..5ea98eb 100644
-- --
2.10.2 2.10.2
From 69e5fd82bf5d9282a640ae8f4069e3cd1bf6abb8 Mon Sep 17 00:00:00 2001
From: Pavel Grunt <pgrunt@redhat.com>
Date: Thu, 23 Mar 2017 12:26:28 +0100
Subject: [PATCH] vdagentd: Handle VD_AGENT_CLIPBOARD_RELEASE
In fact do nothing but avoid a runtime warning
vdagent_message_clipboard_from_le: code should not be reached
Introduced in 99d9d3583143aef7143ec986cebe2980fdeeb776
Acked-by: Victor Toso <victortoso@redhat.com>
---
src/vdagentd/vdagentd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/vdagentd.c b/src/vdagentd.c
index 954bba12cca8..aef5b9616318 100644
--- a/src/vdagentd.c
+++ b/src/vdagentd.c
@@ -410,6 +410,8 @@ static void vdagent_message_clipboard_from_le(VDAgentMessage *message_header,
case VD_AGENT_CLIPBOARD_GRAB:
virtio_msg_uint32_from_le(data, message_header->size, min_size);
break;
+ case VD_AGENT_CLIPBOARD_RELEASE:
+ break;
default:
g_warn_if_reached();
}
--
2.10.2