Fix vinagre and possible other applications when trying to connect to

TightVNC V2. Bump the PORTREVISION.

PR:		ports/166192
Submitted by:	Kevin Oberman <rkoberman@gmail.com>
Obtained from:	Its git.
Feature safe:	yes
This commit is contained in:
Jeremy Messenger 2012-03-17 17:38:00 +00:00
parent 1772121aeb
commit 02cb11bd60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293465
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= gtk-vnc
PORTVERSION= 0.3.10
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= net gnome
MASTER_SITES= GNOME

View file

@ -0,0 +1,11 @@
--- src/gvnc.c.orig 2012-03-17 12:30:12.000000000 -0500
+++ src/gvnc.c 2012-03-17 12:31:37.000000000 -0500
@@ -3543,7 +3543,7 @@
gvnc->minor = 8;
}
- snprintf(version, 12, "RFB %03d.%03d\n", gvnc->major, gvnc->minor);
+ snprintf(version, 13, "RFB %03d.%03d\n", gvnc->major, gvnc->minor);
gvnc_write(gvnc, version, 12);
gvnc_flush(gvnc);
GVNC_DEBUG("Using version: %d.%d", gvnc->major, gvnc->minor);