aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/x11vnc/Makefile2
-rw-r--r--net/x11vnc/files/patch-ssltools.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/net/x11vnc/Makefile b/net/x11vnc/Makefile
index 5b290dc69d39..3f32bcbbe925 100644
--- a/net/x11vnc/Makefile
+++ b/net/x11vnc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= x11vnc
PORTVERSION= 0.9.16
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net
MAINTAINER= dinoex@FreeBSD.org
diff --git a/net/x11vnc/files/patch-ssltools.h b/net/x11vnc/files/patch-ssltools.h
new file mode 100644
index 000000000000..e01cd2738f9e
--- /dev/null
+++ b/net/x11vnc/files/patch-ssltools.h
@@ -0,0 +1,11 @@
+--- src/ssltools.h.orig 2019-01-05 13:22:11 UTC
++++ src/ssltools.h
+@@ -1057,7 +1057,7 @@ char find_display[] =
+ "#\n"
+ "if [ \"X$FD_XDM\" != \"X\" ]; then\n"
+ " list=\"\"\n"
+-" for pair in `echo \"$psout\" | grep '/X.* :[0-9][0-9]* .*-auth' | egrep -v 'startx|xinit' | sed -e 's,^.*/X.* \\(:[0-9][0-9]*\\) .* -auth \\([^ ][^ ]*\\).*$,\\1\\,\\2,' | sort -u`\n"
++" for pair in `echo \"$psout\" | grep '/X.* :[0-9][0-9]* .*-auth' | egrep -v 'startx|xinit' | sed -e 's,^.*/X.* \\(:[0-9][0-9]*\\).*-auth \\([^ ][^ ]*\\).*$,\\1\\,\\2,' | sort -u`\n"
+ " do\n"
+ " da=`echo \"$pair\" | awk -F, '{print $1}'`\n"
+ " xa=`echo \"$pair\" | awk -F, '{print $2}'`\n"