Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18567 (VirtualBox 5.1.6)
This introduces VirtualBox version 5.1.6 along with a few refactored stuff, notably: * Kernel modules and user space applications are now separate derivations. * If config.pulseaudio doesn't exist in nixpkgs config, the default is now to build with PulseAudio modules. * A new updater to keep VirtualBox up to date. All subtests in nixos/tests/virtualbox.nix succeed on my machine and VirtualBox was reported to be working by @DamienCassou (although with unrelated audio problems for another fix/branch) and @calbrecht.
- Loading branch information
Showing
12 changed files
with
267 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
pkgs/applications/virtualization/virtualbox/libressl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
diff --git a/src/VBox/Runtime/common/crypto/digest-builtin.cpp b/src/VBox/Runtime/common/crypto/digest-builtin.cpp | ||
index 66b4304..1aaceff 100644 | ||
--- a/src/VBox/Runtime/common/crypto/digest-builtin.cpp | ||
+++ b/src/VBox/Runtime/common/crypto/digest-builtin.cpp | ||
@@ -561,7 +561,7 @@ static PCRTCRDIGESTDESC const g_apDigestOps[] = | ||
* OpenSSL EVP. | ||
*/ | ||
|
||
-# if OPENSSL_VERSION_NUMBER >= 0x10100000 | ||
+# if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) | ||
/** @impl_interface_method{RTCRDIGESTDESC::pfnNew} */ | ||
static DECLCALLBACK(void*) rtCrDigestOsslEvp_New(void) | ||
{ | ||
@@ -597,7 +597,7 @@ static DECLCALLBACK(int) rtCrDigestOsslEvp_Init(void *pvState, void *pvOpaque, b | ||
if (fReInit) | ||
{ | ||
pEvpType = EVP_MD_CTX_md(pThis); | ||
-# if OPENSSL_VERSION_NUMBER >= 0x10100000 | ||
+# if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) | ||
EVP_MD_CTX_reset(pThis); | ||
# else | ||
EVP_MD_CTX_cleanup(pThis); | ||
@@ -616,7 +616,7 @@ static DECLCALLBACK(int) rtCrDigestOsslEvp_Init(void *pvState, void *pvOpaque, b | ||
static DECLCALLBACK(void) rtCrDigestOsslEvp_Delete(void *pvState) | ||
{ | ||
EVP_MD_CTX *pThis = (EVP_MD_CTX *)pvState; | ||
-# if OPENSSL_VERSION_NUMBER >= 0x10100000 | ||
+# if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) | ||
EVP_MD_CTX_reset(pThis); | ||
# else | ||
EVP_MD_CTX_cleanup(pThis); | ||
@@ -661,13 +661,13 @@ static RTCRDIGESTDESC const g_rtCrDigestOpenSslDesc = | ||
NULL, | ||
RTDIGESTTYPE_UNKNOWN, | ||
EVP_MAX_MD_SIZE, | ||
-# if OPENSSL_VERSION_NUMBER >= 0x10100000 | ||
+# if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) | ||
0, | ||
# else | ||
sizeof(EVP_MD_CTX), | ||
# endif | ||
0, | ||
-# if OPENSSL_VERSION_NUMBER >= 0x10100000 | ||
+# if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) | ||
rtCrDigestOsslEvp_New, | ||
rtCrDigestOsslEvp_Free, | ||
# else |
31 changes: 31 additions & 0 deletions
31
pkgs/applications/virtualization/virtualbox/qtx11extras.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/kBuild/units/qt5.kmk b/kBuild/units/qt5.kmk | ||
index 71b96a3..73391f0 100644 | ||
--- a/kBuild/units/qt5.kmk | ||
+++ b/kBuild/units/qt5.kmk | ||
@@ -994,9 +994,10 @@ else | ||
$(eval $(target)_LIBS += $(PATH_SDK_QT5_LIB)/$(qt_prefix)qtmain$(qt_infix)$(SUFF_LIB) ) | ||
endif | ||
else | ||
- $(eval $(target)_LIBS += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/lib$(qt_prefix)Qt5$(module)$(qt_infix)$(SUFF_DLL)) ) | ||
+ $(eval $(target)_LIBS += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/lib$(qt_prefix)Qt5$(module)$(qt_infix)$(SUFF_DLL)) \ | ||
+ $(PATH_QT5_X11_EXTRAS_LIB)/lib$(qt_prefix)Qt5X11Extras$(qt_infix)$(SUFF_DLL)) | ||
endif | ||
- $(eval $(target)_INCS += $(addprefix $(PATH_SDK_QT5_INC)/Qt,$(qt_modules)) $(PATH_SDK_QT5_INC) ) | ||
+ $(eval $(target)_INCS += $(addprefix $(PATH_SDK_QT5_INC)/Qt,$(qt_modules)) $(PATH_SDK_QT5_INC) $(PATH_QT5_X11_EXTRAS_INC)/QtX11Extras ) | ||
endif | ||
$(eval $(target)_DEFS += $(foreach module,$(toupper $(qt_modules)), QT_$(module)_LIB) ) | ||
|
||
diff --git a/src/VBox/Frontends/VirtualBox/Makefile.kmk b/src/VBox/Frontends/VirtualBox/Makefile.kmk | ||
index 38db6b0..7dd446b 100644 | ||
--- a/src/VBox/Frontends/VirtualBox/Makefile.kmk | ||
+++ b/src/VBox/Frontends/VirtualBox/Makefile.kmk | ||
@@ -912,9 +912,6 @@ VirtualBox_QT_MODULES = Core Gui | ||
ifdef VBOX_WITH_QTGUI_V5 | ||
# Qt5 requires additional modules: | ||
VirtualBox_QT_MODULES += Widgets PrintSupport | ||
- VirtualBox_QT_MODULES.linux += X11Extras | ||
- VirtualBox_QT_MODULES.solaris += X11Extras | ||
- VirtualBox_QT_MODULES.freebsd += X11Extras | ||
VirtualBox_QT_MODULES.darwin += MacExtras | ||
VirtualBox_QT_MODULES.win += WinExtras | ||
endif # VBOX_WITH_QTGUI_V5 |
Oops, something went wrong.