diff --git a/repos/ports/ports/virtualbox.hash b/repos/ports/ports/virtualbox.hash index d1c46dc8a7..2490dfb989 100644 --- a/repos/ports/ports/virtualbox.hash +++ b/repos/ports/ports/virtualbox.hash @@ -1 +1 @@ -8379c2c147eac89e4deee0baaddbc2d5bf2de63f +5a3ab790e3488d1e0d2646a1e23dd2a353dafedc diff --git a/repos/ports/ports/virtualbox.port b/repos/ports/ports/virtualbox.port index a8d1166a5c..58da431f50 100644 --- a/repos/ports/ports/virtualbox.port +++ b/repos/ports/ports/virtualbox.port @@ -1,17 +1,17 @@ LICENSE := GPLv2 -VERSION := 4.3.24 +VERSION := 4.3.26 DOWNLOADS := virtualbox.archive virtualbox_sdk.archive VIRTUALBOX_TBZ2 := VirtualBox-$(VERSION).tar.bz2 -VIRTUALBOX_SDK_ZIP := VirtualBoxSDK-$(VERSION)-98716.zip +VIRTUALBOX_SDK_ZIP := VirtualBoxSDK-$(VERSION)-98988.zip URL(virtualbox) := http://download.virtualbox.org/virtualbox/$(VERSION)/$(VIRTUALBOX_TBZ2) DIR(virtualbox) := src/app/virtualbox -SHA(virtualbox) := d7bd84e08a8486ed6ea86ae6664e691597236f8f +SHA(virtualbox) := f421be5b31deb5f73352d002020fa6fbce44a001 URL(virtualbox_sdk) := http://download.virtualbox.org/virtualbox/$(VERSION)/$(VIRTUALBOX_SDK_ZIP) DIR(virtualbox_sdk) := src/app/virtualbox_sdk -SHA(virtualbox_sdk) := 6d343ac465d383969595228721f36138f2381305 +SHA(virtualbox_sdk) := d579eae196fd0d1cc6e25a7563cfa93f24ee989c PATCHES_DIR := src/virtualbox/patches PATCHES_DIR_VBOX4 := src/virtualbox/patches diff --git a/repos/ports/src/virtualbox/frontend/VBoxEvents.h b/repos/ports/src/virtualbox/frontend/VBoxEvents.h index c62e803afc..189848a9a4 100644 --- a/repos/ports/src/virtualbox/frontend/VBoxEvents.h +++ b/repos/ports/src/virtualbox/frontend/VBoxEvents.h @@ -39,3 +39,5 @@ void fireNATNetworkPortForwardEvent(IEventSource* aSource, CBSTR a_networkName, LONG a_guestPort); void fireHostNameResolutionConfigurationChangeEvent(IEventSource* aSource); + +void fireMediumChangedEvent(IEventSource *, IMediumAttachment *); diff --git a/repos/ports/src/virtualbox/frontend/dummy/rest.cc b/repos/ports/src/virtualbox/frontend/dummy/rest.cc index 9ef4efb4d2..bcf8f3bfe6 100644 --- a/repos/ports/src/virtualbox/frontend/dummy/rest.cc +++ b/repos/ports/src/virtualbox/frontend/dummy/rest.cc @@ -248,3 +248,5 @@ void fireNATNetworkPortForwardEvent(IEventSource* aSource, LONG a_guestPort) TRACE() void fireHostNameResolutionConfigurationChangeEvent(IEventSource* aSource) TRACE() + +void fireMediumChangedEvent(IEventSource *, IMediumAttachment *) DUMMY() diff --git a/repos/ports/src/virtualbox/patches/vbox_main.patch b/repos/ports/src/virtualbox/patches/vbox_main.patch index a19e2d6a36..40a8dfcc15 100644 --- a/repos/ports/src/virtualbox/patches/vbox_main.patch +++ b/repos/ports/src/virtualbox/patches/vbox_main.patch @@ -943,18 +943,6 @@ index 69e3109..3c534df 100644 /** * Thread for powering down the Console. * -@@ -10461,9 +10559,11 @@ DECLCALLBACK(int) Console::drvStatus_MediumEjected(PPDMIMEDIANOTIFY pInterface, - alock.release(); - - ComPtr pNewMediumAtt; -+#if 0 - rc = pThis->pConsole->mControl->EjectMedium(pMediumAtt, pNewMediumAtt.asOutParam()); - if (SUCCEEDED(rc)) - fireMediumChangedEvent(pThis->pConsole->mEventSource, pNewMediumAtt); -+#endif - - alock.acquire(); - if (pNewMediumAtt != pMediumAtt) diff --git a/src/app/virtualbox/src/VBox/Main/src-client/ConsoleImpl2.cpp b/src/app/virtualbox/src/VBox/Main/src-client/ConsoleImpl2.cpp index caed4be..19c3dc0 100644 --- a/src/app/virtualbox/src/VBox/Main/src-client/ConsoleImpl2.cpp