diff options
Diffstat (limited to 'net/gtk-vnc')
-rw-r--r-- | net/gtk-vnc/Makefile | 2 | ||||
-rw-r--r-- | net/gtk-vnc/files/patch-src_gvnc.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile index 4afc463df..5dcf97735 100644 --- a/net/gtk-vnc/Makefile +++ b/net/gtk-vnc/Makefile @@ -7,7 +7,7 @@ PORTNAME= gtk-vnc PORTVERSION= 0.3.10 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net gnome MASTER_SITES= GNOME diff --git a/net/gtk-vnc/files/patch-src_gvnc.c b/net/gtk-vnc/files/patch-src_gvnc.c new file mode 100644 index 000000000..dcf479f23 --- /dev/null +++ b/net/gtk-vnc/files/patch-src_gvnc.c @@ -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); |