File vbox-LIBVNCSERVER_IPv6.diff of Package virtualbox.openSUSE_12.1_Update

Index: VirtualBox-4.1.22/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp
===================================================================
--- VirtualBox-4.1.22/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp
+++ VirtualBox-4.1.22/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp
@@ -91,9 +91,6 @@ HRESULT VNCFB::init(const char *pszName)
     if (mVncPort)
     {
         vncServer->port = mVncPort;
-#ifdef LIBVNCSERVER_IPv6
-        vncServer->ipv6port = mVncPort;
-#endif
     }
     char *pszDesktopName;
     rc = RTStrAPrintf(&pszDesktopName, "%s - VirtualBox", pszName);
openSUSE Build Service is sponsored by