summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre/ipv6_vnc.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-26 05:55:03 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-26 05:55:03 -0300
commitff0071716aa6bf9100e49508b815da77cb735942 (patch)
treeae5d93c6e188ac2555b0341812d2ad9f9cb1c25b /libre/virtualbox-libre/ipv6_vnc.patch
parent14ba2fbc3763f75ff0b3cdede444930ee949d097 (diff)
virtualbox-libre: adding free patches and free distros icons
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)