commit gtk-vnc for openSUSE:Factory
Hello community, here is the log from the commit of package gtk-vnc for openSUSE:Factory checked in at Mon Sep 27 16:02:52 CEST 2010. -------- --- GNOME/gtk-vnc/gtk-vnc.changes 2010-08-09 15:31:08.000000000 +0200 +++ /mounts/work_src_done/STABLE/gtk-vnc/gtk-vnc.changes 2010-09-27 14:57:35.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 27 12:21:49 UTC 2010 - seife@opensuse.org + +- Add gtk-vnc-0.4.1-close-buffer.patch to fix virt-manager crashes + (bnc#641981, rh#620843). + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gtk-vnc-0.4.1-close-buffer.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk-vnc.spec ++++++ --- /var/tmp/diff_new_pack.9K79rm/_old 2010-09-27 16:02:29.000000000 +0200 +++ /var/tmp/diff_new_pack.9K79rm/_new 2010-09-27 16:02:29.000000000 +0200 @@ -28,11 +28,13 @@ BuildRequires: python-gtk-devel Summary: A GTK widget for VNC clients Version: 0.4.1 -Release: 1 +Release: 2 # FIXME: see if the browser plugin can be built (last try 0.4.1) License: LGPLv2.1 ; LGPLv2.1+ Group: Development/Libraries/X11 Source: http://downloads2.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM gtk-vnc-0.4.1-close-buffer.patch bnc#641981 seife@opensuse.org -- Taken from upstream, 55d0ee7b +Patch1: gtk-vnc-0.4.1-close-buffer.patch Requires: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://gtk-vnc.sf.net/ @@ -111,6 +113,7 @@ %lang_package %prep %setup -q +%patch1 -p1 %build # We use --with-examples since this will build gvncviewer, which is neat ++++++ gtk-vnc-0.4.1-close-buffer.patch ++++++ diff -rup gtk-vnc-0.4.1.orig/src/vncconnection.c gtk-vnc-0.4.1.new/src/vncconnection.c --- gtk-vnc-0.4.1.orig/src/vncconnection.c 2010-07-14 11:28:15.000000000 +0100 +++ gtk-vnc-0.4.1.new/src/vncconnection.c 2010-08-06 10:12:27.621989062 +0100 @@ -4191,7 +4191,12 @@ static void vnc_connection_close(VncConn priv->name = NULL; } - g_free (priv->xmit_buffer); + if (priv->xmit_buffer) { + g_free(priv->xmit_buffer); + priv->xmit_buffer = NULL; + priv->xmit_buffer_size = 0; + priv->xmit_buffer_capacity = 0; + } if (priv->cred_username) { g_free(priv->cred_username); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de