aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-04-20 11:14:34 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-04-27 07:15:14 +0000
commit0eecc344f01e57415f31798cf8c27f7f0796ad9b (patch)
treef9bdb3bd431c6feddeea4d30ccd16162663218ef /testing/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch
parent3bbd14339e193fb2e619868b96463ad2eb6cc6dd (diff)
downloadaports-0eecc344f01e57415f31798cf8c27f7f0796ad9b.tar.bz2
aports-0eecc344f01e57415f31798cf8c27f7f0796ad9b.tar.xz
testing/spice-vdagent: fix copy / paste functionality
This patch adds an init script for copy & paste functionality between the guest & host. Run 'rc-service spice-vdagentd info' for details on the settings for libvirt. By default this runs with a single session possible. For multiple sessions remove '-X' to disable consolekit from the init script & install slim or lxdm. Tested on 32 & 64 bit KVM - but should also work on XEN / LXC run by libvirt. Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch')
-rw-r--r--testing/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch b/testing/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch
new file mode 100644
index 0000000000..ad0de924e9
--- /dev/null
+++ b/testing/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch
@@ -0,0 +1,11 @@
+--- spice-vdagent-0.15.0/src/udscs.c
++++ spice-vdagent-0.15.0/src/udscs.c.new
+@@ -26,6 +26,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <errno.h>
+