Hello community,

here is the log from the commit of package tigervnc for openSUSE:Factory 
checked in at 2015-09-24 06:12:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tigervnc (Old)
 and      /work/SRC/openSUSE:Factory/.tigervnc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tigervnc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes        2015-09-03 
18:04:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes   2015-09-24 
06:12:41.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Sep 13 14:57:35 UTC 2015 - m...@suse.com
+
+- U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch
+  * Fixes Xvnc with -inetd parameter. (bnc#945600)
+
+-------------------------------------------------------------------

New:
----
  U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tigervnc.spec ++++++
--- /var/tmp/diff_new_pack.9LFtnX/_old  2015-09-24 06:12:42.000000000 +0200
+++ /var/tmp/diff_new_pack.9LFtnX/_new  2015-09-24 06:12:42.000000000 +0200
@@ -118,6 +118,7 @@
 Patch9:         
u_tigervnc-display-SHA-1-fingerprint-of-untrusted-certificate.patch
 Patch10:        u_tigervnc-add-autoaccept-parameter.patch
 Patch11:        N_tigervnc_revert_fltk_1_3_3_requirements.patch
+Patch12:        U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch
 
 %description
 TigerVNC is a high-performance, platform-neutral implementation of VNC 
(Virtual Network Computing), 
@@ -159,6 +160,7 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 
 pushd unix/xserver
 patch -p1 < ../xserver117.patch

++++++ U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch ++++++
Subject: [PATCH] Fix reversed logic in vncIsTCPPortUsed()
Author: Pierre Ossman <oss...@cendio.se>
Patch-mainline: Upstream
Git-commit: 6bb08082956334711de44dad49b95f90a7b02700
Signed-off-by: Michal Srb <m...@suse.com>

Patch by Jay Kulpinski. Prevents -inetd mode from automatically
finding a free X11 display number.

diff --git a/unix/xserver/hw/vnc/RFBGlue.cc b/unix/xserver/hw/vnc/RFBGlue.cc
index 09832ab..a150792 100644
--- a/unix/xserver/hw/vnc/RFBGlue.cc
+++ b/unix/xserver/hw/vnc/RFBGlue.cc
@@ -194,7 +194,7 @@ int vncIsTCPPortUsed(int port)
     std::list<network::TcpListener> dummy;
     network::createTcpListeners (&dummy, 0, port);
   } catch (rdr::Exception& e) {
-    return 0;
+    return 1;
   }
-  return 1;
+  return 0;
 }

Reply via email to