diff options
author | pat <pat@FreeBSD.org> | 2002-11-03 02:30:32 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-11-03 02:30:32 +0800 |
commit | ca916139fefb20abff4fcd259914971bdfe24c68 (patch) | |
tree | cd9f5aff787ce30480a61f7503bf4e1830e3408f /net/tightvnc | |
parent | c45b074be65d191c0cc7c5c2ed4d616482520194 (diff) | |
download | freebsd-ports-graphics-ca916139fefb20abff4fcd259914971bdfe24c68.tar.gz freebsd-ports-graphics-ca916139fefb20abff4fcd259914971bdfe24c68.tar.zst freebsd-ports-graphics-ca916139fefb20abff4fcd259914971bdfe24c68.zip |
Allow vncserver to bind to an address and bump PORTREVISION.
PR: ports/44811
Submitted by: Marco Molteni <molter@tin.it>
Diffstat (limited to 'net/tightvnc')
-rw-r--r-- | net/tightvnc/Makefile | 1 | ||||
-rw-r--r-- | net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/net/tightvnc/Makefile b/net/tightvnc/Makefile index e7380bf2ab0..c049ef5649f 100644 --- a/net/tightvnc/Makefile +++ b/net/tightvnc/Makefile @@ -8,6 +8,7 @@ PORTNAME= tightvnc PORTVERSION= 1.2.6 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= vnc-tight diff --git a/net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c b/net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c new file mode 100644 index 00000000000..0aebcaa1011 --- /dev/null +++ b/net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c @@ -0,0 +1,18 @@ +--- Xvnc/programs/Xserver/hw/vnc/sockets.c Tue Mar 19 18:59:22 2002 ++++ Xvnc/programs/Xserver/hw/vnc/sockets.c Fri Nov 1 18:03:02 2002 +@@ -38,6 +38,7 @@ + */ + + #include <stdio.h> ++#include <string.h> + #include <sys/types.h> + #include <sys/time.h> + #include <sys/socket.h> +@@ -491,6 +492,7 @@ + int sock; + int one = 1; + ++ memset(&addr, 0, sizeof(addr)); + addr.sin_family = AF_INET; + addr.sin_port = htons(port); + addr.sin_addr.s_addr = interface.s_addr; |