summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre/ipv6_vnc.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-27 00:02:04 +0000
committerroot <root@rshg054.dnsready.net>2012-07-27 00:02:04 +0000
commit1616f43507a7f8785a479ecf6ce905828a232f02 (patch)
tree2da0cc5a8e57effad5bcd327be1957b187b67f36 /libre/virtualbox-libre/ipv6_vnc.patch
parentc4c5143448e3be178c254e8f9f1ab24661dc3b20 (diff)
Fri Jul 27 00:02:04 UTC 2012
Diffstat (limited to 'libre/virtualbox-libre/ipv6_vnc.patch')
-rw-r--r--libre/virtualbox-libre/ipv6_vnc.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/libre/virtualbox-libre/ipv6_vnc.patch b/libre/virtualbox-libre/ipv6_vnc.patch
new file mode 100644
index 000000000..8f50aba1c
--- /dev/null
+++ b/libre/virtualbox-libre/ipv6_vnc.patch
@@ -0,0 +1,20 @@
+diff -aur vanilla/VirtualBox-4.1.18/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp changed/VirtualBox-4.1.18/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp
+--- vanilla/VirtualBox-4.1.18/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp 2012-06-20 15:15:53.000000000 +0200
++++ changed/VirtualBox-4.1.18/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp 2012-07-16 16:24:22.448349886 +0200
+@@ -88,8 +88,16 @@
+
+ vncServer = rfbGetScreen(0, NULL, mWidth, mHeight, 8, 3, 1);
+ vncServer->screenData = (void*)this;
++#ifdef LIBVNCSERVER_IPv6
++ if (mVncPort) {
++ vncServer->port = mVncPort;
++ vncServer->ipv6port = mVncPort;
++ }
++#else
+ if (mVncPort)
+ vncServer->port = mVncPort;
++#endif
++
+ char *pszDesktopName;
+ rc = RTStrAPrintf(&pszDesktopName, "%s - VirtualBox", pszName);
+ if (rc >= 0)