mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Allow vncserver to bind to an address and bump PORTREVISION.
PR: ports/44811 Submitted by: Marco Molteni <molter@tin.it>
This commit is contained in:
parent
b5921bf2ff
commit
4e71589ffc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69302
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= tightvnc
|
||||
PORTVERSION= 1.2.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= vnc-tight
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user