[arch-commits] CVS update of extra/network/freenx (vnc-startup-fix.patch)
Tobias Powalowski
tpowa at archlinux.org
Mon Oct 22 05:23:54 UTC 2007
Date: Monday, October 22, 2007 @ 01:23:54
Author: tpowa
Path: /home/cvs-extra/extra/network/freenx
Added: vnc-startup-fix.patch (1.1)
'upgpkg: added missing patch'
-----------------------+
vnc-startup-fix.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: extra/network/freenx/vnc-startup-fix.patch
diff -u /dev/null extra/network/freenx/vnc-startup-fix.patch:1.1
--- /dev/null Mon Oct 22 01:23:54 2007
+++ extra/network/freenx/vnc-startup-fix.patch Mon Oct 22 01:23:54 2007
@@ -0,0 +1,11 @@
+--- nxserver~ 2007-10-15 00:25:14.000000000 +0200
++++ nxserver 2007-10-22 07:17:46.000000000 +0200
+@@ -267,7 +267,7 @@
+ egrep -q "^userName=$1$" $i && let SESSION_COUNT_USER=$SESSION_COUNT_USER+1
+ done
+
+- if [ "$ENABLE_DESKTOP_SHARING" = "1" ]
++ if [ "$4" = "vnc" -a "$ENABLE_DESKTOP_SHARING" = "1" ]
+ then
+ export DESKTOP_SHARING_IDS=""
+ for i in $(LC_ALL=C netstat -ln --protocol=unix | egrep 'X11-unix/X[0-9]$' | sed 's/.*X\(.*\)/\1/g')
More information about the arch-commits
mailing list