forked from pool/virtualbox
037ec0118a
- Remove symbols that forced rebuild of initrd - Version update to 6.1.14 (released September 04 2020 by Oracle) File "fix_virtio_build.patch" is added to fix a build problem. This is a maintenance release. The following items were fixed and/or added: GUI: Fixes file name changes in the File location field when creating Virtual Hard Disk (bug #19286) VMM: Fixed running VMs which failed to start with VERR_NEM_MISSING_KERNEL_API_2 when Hyper-V is used (bug #19779 and #19804) Audio: fix regression in HDA emulation introduced in 6.1.0 Shared Clipboard: Fixed a potential crash when copying HTML data (6.1.2 regression; bug #19226) Linux host and guest: Linux kernel version 5.8 support EFI: Fixed reading ISO9660 filesystems on attached media (6.1.0 regression; bug #19682) EFI: Support booting from drives attached to the LsiLogic SCSI and SAS controller emulations OBS-URL: https://build.opensuse.org/request/show/833132 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=570
40 lines
2.0 KiB
Diff
40 lines
2.0 KiB
Diff
Index: VirtualBox-6.1.14/Config.kmk
|
|
===================================================================
|
|
--- VirtualBox-6.1.14.orig/Config.kmk
|
|
+++ VirtualBox-6.1.14/Config.kmk
|
|
@@ -2634,11 +2634,17 @@ else
|
|
# The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)).
|
|
# Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc -dumpversion`.
|
|
# gcc-5 of openSUSE42.1 only returns the major version on `gcc -dumpversion`!
|
|
- VBOX_GCC_VERSION = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion) | \
|
|
- $(SED_EXT) 's|\([0-9][0-9]*\)\.\{0,1\}\([0-9]\{0,\}\)\.\{0,1\}\([0-9]\{0,\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' )
|
|
+ #
|
|
+ # Check to make sure that the compiler has either -dumpfullversion or -dumpversion. gcc-10 has neither
|
|
+ RC = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion 2>/dev/null) ; echo $$?)
|
|
+ ifneq ($(RC),0)
|
|
+ # dump version commands not available - hardcode 10.2.1 for the moment
|
|
+ VBOX_GCC_VERSION = 100201
|
|
+ else
|
|
+ VBOX_GCC_VERSION = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion 2>/dev/null) | \
|
|
+ $(SED_EXT) 's|\([0-9][0-9]*\)\.\{0,1\}\([0-9]\{0,\}\)\.\{0,1\}\([0-9]\{0,\}\).*|$$(expr 10000 * \1 + 100 * $$(firstword \2 0) + $$(firstword \3 0))|' )
|
|
+ endif
|
|
endif
|
|
-
|
|
-# YASM macros
|
|
ifndef DONT_USE_YASM
|
|
include $(KBUILD_PATH)/tools/YASM.kmk
|
|
if1of ($(KBUILD_HOST), win os2)
|
|
Index: VirtualBox-6.1.14/src/VBox/Debugger/DBGCDumpImage.cpp
|
|
===================================================================
|
|
--- VirtualBox-6.1.14.orig/src/VBox/Debugger/DBGCDumpImage.cpp
|
|
+++ VirtualBox-6.1.14/src/VBox/Debugger/DBGCDumpImage.cpp
|
|
@@ -468,7 +468,7 @@ static const char *dbgcMachoCpuType(int3
|
|
{
|
|
switch (iType)
|
|
{
|
|
- case CPU_TYPE_ANY: return "CPU_TYPE_ANY";
|
|
+ default: return "CPU_TYPE_ANY";
|
|
case CPU_TYPE_VAX: return "VAX";
|
|
case CPU_TYPE_MC680x0: return "MC680x0";
|
|
case CPU_TYPE_X86: return "X86";
|