Hello community, here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2020-04-15 20:06:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtualbox (Old) and /work/SRC/openSUSE:Factory/.virtualbox.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox" Wed Apr 15 20:06:44 2020 rev:196 rq:793674 version:6.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2020-03-31 17:32:31.744270457 +0200 +++ /work/SRC/openSUSE:Factory/.virtualbox.new.2738/virtualbox.changes 2020-04-15 20:08:06.678171109 +0200 @@ -1,0 +2,18 @@ +Thu Apr 9 21:49:36 UTC 2020 - Larry Finger <[email protected]> + +- Change default display type for openSUSE virtual machines. The default type + has been VMSVGA; however, this display type fails to utilize driver vboxvideo. + thus the display size is fixed. This problem is under investigation, but + until a fix is found, the default is changed to VBoxVGA with file + "add change_default_display.patch". +- Makefile in the kernel-host-source package has a typo bug fixed (boo#1168910) + and a large number of warnings are fixed. + +------------------------------------------------------------------- +Sun Apr 5 18:05:53 UTC 2020 - Hans-Peter Jansen <[email protected]> + +- apply fixes for kernel 5.6 unconditionally +- adjust fixes_for_5.6.patch in such a way, it can be applied unconditionally + (in order to support builds for newer kernel with older distributions) + +------------------------------------------------------------------- New: ---- change_default_display.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virtualbox.spec ++++++ --- /var/tmp/diff_new_pack.3V7EJe/_old 2020-04-15 20:08:09.522173044 +0200 +++ /var/tmp/diff_new_pack.3V7EJe/_new 2020-04-15 20:08:09.526173047 +0200 @@ -158,6 +158,8 @@ Patch137: fix-missing-includes-with-qt-5.15.patch # Fix builds with GCC10 Patch138: fixes_for_gcc10.patch +# Change default display type +Patch139: change_default_display.patch Patch999: virtualbox-fix-ui-background-color.patch # BuildRequires: LibVNCServer-devel @@ -460,12 +462,11 @@ %endif %patch133 -p1 %patch134 -p1 -%if 0%{?suse_version} > 1500 %patch135 -p1 -%endif %patch136 -p1 %patch137 -p1 %patch138 -p1 +%patch139 -p1 # make VB UI background colors look sane again %patch999 -p1 ++++++ change_default_display.patch ++++++ Index: VirtualBox-6.1.4/src/VBox/Main/src-all/Global.cpp =================================================================== --- VirtualBox-6.1.4.orig/src/VBox/Main/src-all/Global.cpp +++ VirtualBox-6.1.4/src/VBox/Main/src-all/Global.cpp @@ -284,13 +284,13 @@ const Global::OSType Global::sOSTypes[] { "Linux", "Linux", "OpenSUSE", "openSUSE (32-bit)", VBOXOSTYPE_OpenSUSE, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC, - 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, + 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 }, { "Linux", "Linux", "OpenSUSE_64", "openSUSE (64-bit)", VBOXOSTYPE_OpenSUSE_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC, - 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, + 1024, 16, 8 * _1G64, GraphicsControllerType_VBoxVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE, StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 }, { "Linux", "Linux", "Turbolinux", "Turbolinux (32-bit)", ++++++ fixes_for_5.5.patch ++++++ ++++ 701 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/virtualbox/fixes_for_5.5.patch ++++ and /work/SRC/openSUSE:Factory/.virtualbox.new.2738/fixes_for_5.5.patch ++++++ fixes_for_5.6.patch ++++++ --- /var/tmp/diff_new_pack.3V7EJe/_old 2020-04-15 20:08:09.638173123 +0200 +++ /var/tmp/diff_new_pack.3V7EJe/_new 2020-04-15 20:08:09.638173123 +0200 @@ -49,11 +49,11 @@ + * time handling macros were hidden. Thus, user- and kernel-space + * names are different. + */ -+#include <linux/time_types.h> +#include <linux/version.h> +#include <linux/time64.h> +#include <linux/ktime.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) ++#include <linux/time_types.h> +#define timespec __kernel_old_timespec +#define ktime_get_ts ktime_get_ts64 +#undef time_t ++++++ fixes_for_gcc10.patch ++++++ --- /var/tmp/diff_new_pack.3V7EJe/_old 2020-04-15 20:08:09.654173135 +0200 +++ /var/tmp/diff_new_pack.3V7EJe/_new 2020-04-15 20:08:09.654173135 +0200 @@ -19,27 +19,18 @@ + $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' ) + endif endif + # YASM macros - ifndef DONT_USE_YASM -Index: VirtualBox-6.1.4/include/iprt/formats/mach-o.h +Index: VirtualBox-6.1.4/src/VBox/Debugger/DBGCDumpImage.cpp =================================================================== ---- VirtualBox-6.1.4.orig/include/iprt/formats/mach-o.h -+++ VirtualBox-6.1.4/include/iprt/formats/mach-o.h -@@ -38,7 +38,7 @@ - /* cputype */ - #define CPU_ARCH_MASK INT32_C(0xff000000) - #define CPU_ARCH_ABI64 INT32_C(0x01000000) --#define CPU_TYPE_ANY INT32_C(-1) -+#define CPU_TYPE_ANY INT32_C(999) - #define CPU_TYPE_VAX INT32_C(1) - #define CPU_TYPE_MC680x0 INT32_C(6) - #define CPU_TYPE_X86 INT32_C(7) -@@ -53,7 +53,7 @@ - #define CPU_TYPE_POWERPC64 (CPU_TYPE_POWERPC | CPU_ARCH_ABI64) - - /* cpusubtype */ --#define CPU_SUBTYPE_MULTIPLE INT32_C(-1) -+#define CPU_SUBTYPE_MULTIPLE -1 - #define CPU_SUBTYPE_LITTLE_ENDIAN INT32_C(0) - #define CPU_SUBTYPE_BIG_ENDIAN INT32_C(1) - +--- VirtualBox-6.1.4.orig/src/VBox/Debugger/DBGCDumpImage.cpp ++++ VirtualBox-6.1.4/src/VBox/Debugger/DBGCDumpImage.cpp +@@ -468,7 +468,7 @@ static const char *dbgcMachoCpuType(uint + { + switch (uType) + { +- 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"; ++++++ fixes_for_leap15.2.patch ++++++ --- /var/tmp/diff_new_pack.3V7EJe/_old 2020-04-15 20:08:09.662173139 +0200 +++ /var/tmp/diff_new_pack.3V7EJe/_new 2020-04-15 20:08:09.666173142 +0200 @@ -6,7 +6,7 @@ #define VBOXNETFLT_OS_SPECFIC 1 #include "../VBoxNetFltInternal.h" -+# if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2 ++# if defined(CONFIG_SUSE_VERSION) & CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2 +# define OPENSUSE_152 +# endif + ++++++ vbox-fpie.diff ++++++ --- /var/tmp/diff_new_pack.3V7EJe/_old 2020-04-15 20:08:09.706173169 +0200 +++ /var/tmp/diff_new_pack.3V7EJe/_new 2020-04-15 20:08:09.710173173 +0200 @@ -2,14 +2,6 @@ =================================================================== --- VirtualBox-6.1.4.orig/Config.kmk +++ VirtualBox-6.1.4/Config.kmk -@@ -2687,7 +2687,6 @@ else - VBOX_GCC_VERSION = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion) | \ - $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' ) - endif -- - # YASM macros - ifndef DONT_USE_YASM - include $(KBUILD_PATH)/tools/YASM.kmk @@ -5533,6 +5532,9 @@ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.darwi ifeq ($(KBUILD_TARGET),linux) # not necessary except USE_LIB_PCAP is defined in SUPR3HardenedMain.cpp
