summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2011-01-14 23:03:42 +0000
committerDoug Goldstein <cardoe@gentoo.org>2011-01-14 23:03:42 +0000
commita948ec290732908e71cc11f1abedd9399013a089 (patch)
tree3c38e4541cb16bc431acbdedf02801467e71f1cb /net-libs/gtk-vnc/files/gtk-vnc-0.4.2-shared-flag.patch
parentStable on amd64 wrt bug #349877 (diff)
downloadhistorical-a948ec290732908e71cc11f1abedd9399013a089.tar.gz
historical-a948ec290732908e71cc11f1abedd9399013a089.tar.bz2
historical-a948ec290732908e71cc11f1abedd9399013a089.zip
Fix several more upstream discovered crashers and interaction bugs.
Package-Manager: portage-2.1.9.31/cvs/Linux x86_64
Diffstat (limited to 'net-libs/gtk-vnc/files/gtk-vnc-0.4.2-shared-flag.patch')
-rw-r--r--net-libs/gtk-vnc/files/gtk-vnc-0.4.2-shared-flag.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-libs/gtk-vnc/files/gtk-vnc-0.4.2-shared-flag.patch b/net-libs/gtk-vnc/files/gtk-vnc-0.4.2-shared-flag.patch
new file mode 100644
index 000000000000..16d5cd9017f7
--- /dev/null
+++ b/net-libs/gtk-vnc/files/gtk-vnc-0.4.2-shared-flag.patch
@@ -0,0 +1,34 @@
+From ba169973b875f90bf787158588ee4258b71a6ba6 Mon Sep 17 00:00:00 2001
+From: SĂ©bastien Granjoux <seb.sfo@free.fr>
+Date: Thu, 13 Jan 2011 16:36:33 +0000
+Subject: Fix setup of 'shared flag' when opening connection
+
+The VncDisplay class forgot to pass the 'shared flag' onto
+the VncConnection class when establishing a connection
+---
+diff --git a/src/vncdisplay.c b/src/vncdisplay.c
+index deab4d8..f8ee9ea 100644
+--- a/src/vncdisplay.c
++++ b/src/vncdisplay.c
+@@ -1407,6 +1407,9 @@ gboolean vnc_display_open_fd(VncDisplay *obj, int fd)
+ if (vnc_connection_is_open(priv->conn))
+ return FALSE;
+
++ if (!vnc_connection_set_shared(priv->conn, priv->shared_flag))
++ return FALSE;
++
+ if (!vnc_connection_open_fd(priv->conn, fd))
+ return FALSE;
+
+@@ -1422,6 +1425,9 @@ gboolean vnc_display_open_host(VncDisplay *obj, const char *host, const char *po
+ if (vnc_connection_is_open(priv->conn))
+ return FALSE;
+
++ if (!vnc_connection_set_shared(priv->conn, priv->shared_flag))
++ return FALSE;
++
+ if (!vnc_connection_open_host(priv->conn, host, port))
+ return FALSE;
+
+--
+cgit v0.8.3.1