Hello community,

here is the log from the commit of package virtualbox for openSUSE:Leap:15.2 
checked in at 2020-04-18 18:40:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/virtualbox (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.virtualbox.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virtualbox"

Sat Apr 18 18:40:59 2020 rev:85 rq:795146 version:6.1.6

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/virtualbox/virtualbox.changes  2020-04-02 
16:48:36.509974871 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.virtualbox.new.2738/virtualbox.changes        
2020-04-18 18:41:04.241958685 +0200
@@ -1,0 +2,51 @@
+Wed Apr 15 17:40:41 UTC 2020 - Larry Finger <[email protected]>
+
+- Version bump to 6.1.6 (released April 14 2020 by Oracle)
+
+  This version fixes bsc#1169249, bsc#1169202, and bsc#1166782.
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  GUI: Multiple enhancements including visual elements updates
+  Graphics: Fixed monitor resizing and multi-monitor handling bugs on X11 
guests with VMSVGA graphics adapter
+  Graphics: Enhancements in 2D and 3D acceleration and rendering
+  USB: Multiple enhancements improving prformance and stability
+  Serial port: Improve error handling and fix hang when host port disappears
+  VBoxManage: Multiple fixes for guestcontrol operations
+  API: Fix for exception handling bug in Python bindings
+  Shared clipboard: Multiple fixes including possible crash and HTML data 
support
+  Linux host and guest: Support Linux kernel 5.6 (bug #19312)
+
+  File "VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch" removed - fixed 
upstream.
+  File "fixes_for_5.6.patch" removed - fixed upstream.
+  File "change_default_display.patch" removed - fixed upstream.
+
+-------------------------------------------------------------------
+Mon Apr 13 18:02:12 UTC 2020 - Larry Finger <[email protected]>
+
+- Fix bug that deletes everything in ~/.vbox/
+
+-------------------------------------------------------------------
+Mon Apr 13 17:22:38 UTC 2020 - Larry Finger <[email protected]>
+
+- Fix builds for kernel 5.7. File "fixes_for_5.7.patch" is added.
+
+-------------------------------------------------------------------
+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)
+
+-------------------------------------------------------------------

Old:
----
  VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
  VirtualBox-6.1.4-patched.tar.bz2
  fixes_for_5.6.patch

New:
----
  VirtualBox-6.1.6-patched.tar.bz2
  fixes_for_5.7.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virtualbox.spec ++++++
--- /var/tmp/diff_new_pack.rUSv9f/_old  2020-04-18 18:41:06.145962706 +0200
+++ /var/tmp/diff_new_pack.rUSv9f/_new  2020-04-18 18:41:06.149962715 +0200
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:           virtualbox
 # ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
-Version:        6.1.4
+Version:        6.1.6
 Release:        0
 Summary:        VirtualBox is an Emulator
 License:        GPL-2.0-or-later
@@ -150,14 +150,12 @@
 Patch133:       fixes_for_leap15.2.patch
 # Fixes for API changes in kernel 5.6
 Patch134:       fixes_for_5.5.patch
-# Fixes for API changes in kernel 5.6
-Patch135:       fixes_for_5.6.patch
-# Fis VBoxClient Crashes
-Patch136:       VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
 # Fix build for Qt 5.15
-Patch137:       fix-missing-includes-with-qt-5.15.patch
+Patch135:       fix-missing-includes-with-qt-5.15.patch
 # Fix builds with GCC10
-Patch138:       fixes_for_gcc10.patch
+Patch136:       fixes_for_gcc10.patch
+# Fix build for kernel 5.7
+Patch137:       fixes_for_5.7.patch
 Patch999:       virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -460,12 +458,9 @@
 %endif
 %patch133 -p1
 %patch134 -p1
-%if 0%{?suse_version} > 1500
 %patch135 -p1
-%endif
 %patch136 -p1
 %patch137 -p1
-%patch138 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++++++ UserManual.pdf ++++++
(binary differes)

++++++ VirtualBox-6.1.4-patched.tar.bz2 -> VirtualBox-6.1.6-patched.tar.bz2 
++++++
/work/SRC/openSUSE:Leap:15.2/virtualbox/VirtualBox-6.1.4-patched.tar.bz2 
/work/SRC/openSUSE:Leap:15.2/.virtualbox.new.2738/VirtualBox-6.1.6-patched.tar.bz2
 differ: char 11, line 1

++++++ fixes_for_5.5.patch ++++++
++++ 701 lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/virtualbox/fixes_for_5.5.patch
++++ and /work/SRC/openSUSE:Leap:15.2/.virtualbox.new.2738/fixes_for_5.5.patch

++++++ fixes_for_5.6.patch -> fixes_for_5.7.patch ++++++
--- /work/SRC/openSUSE:Leap:15.2/virtualbox/fixes_for_5.6.patch 2020-03-06 
12:40:51.794742101 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.virtualbox.new.2738/fixes_for_5.7.patch       
2020-04-18 18:41:03.973958118 +0200
@@ -1,106 +1,36 @@
-Index: VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+Index: VirtualBox-6.1.4/src/VBox/Additions/linux/drm/vbox_fb.c
 ===================================================================
---- VirtualBox-6.1.2.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-+++ VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-@@ -843,9 +843,13 @@ DECLHIDDEN(int) vboxPciOsDevMapRegion(PV
-         if (!rcLnx)
-         {
-             /* For now no caching, try to optimize later. */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+            RTR0PTR R0PtrMapping = ioremap(pci_resource_start(pPciDev, 
iRegion),
-+                                           pci_resource_len(pPciDev, 
iRegion));
-+#else
-             RTR0PTR R0PtrMapping = 
ioremap_nocache(pci_resource_start(pPciDev, iRegion),
-                                                    pci_resource_len(pPciDev, 
iRegion));
+--- VirtualBox-6.1.4.orig/src/VBox/Additions/linux/drm/vbox_fb.c
++++ VirtualBox-6.1.4/src/VBox/Additions/linux/drm/vbox_fb.c
+@@ -47,7 +47,6 @@
+ #include <drm/drm_crtc.h>
+ #include <drm/drm_fb_helper.h>
+ #include <drm/drm_crtc_helper.h>
 -
-+#endif
-             if (R0PtrMapping != NIL_RTR0PTR)
-                 pIns->aRegionR0Mapping[iRegion] = R0PtrMapping;
-             else
-Index: VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-===================================================================
---- VirtualBox-6.1.2.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-+++ VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-@@ -1461,9 +1461,13 @@ DECLHIDDEN(int) rtR0MemObjNativeMapKerne
-              * MMIO / physical memory.
-              */
-             Assert(pMemLnxToMap->Core.enmType == RTR0MEMOBJTYPE_PHYS && 
!pMemLnxToMap->Core.u.Phys.fAllocated);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+          pMemLnx->Core.pv = ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + 
offSub, cbSub);
+ #include <VBoxVideo.h>
+ 
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) && !defined(RHEL_74)
+@@ -431,7 +430,11 @@ int vbox_fbdev_init(struct drm_device *d
+       drm_fb_helper_prepare(dev, &fbdev->helper, &vbox_fb_helper_funcs);
+ #endif
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || defined(RHEL_75)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 7, 0)
++      ret = drm_fb_helper_init(dev, &fbdev->helper);
 +#else
-             pMemLnx->Core.pv = pMemLnxToMap->Core.u.Phys.uCachePolicy == 
RTMEM_CACHE_POLICY_MMIO
-                              ? 
ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub)
-                              : ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + 
offSub, cbSub);
+       ret = drm_fb_helper_init(dev, &fbdev->helper, vbox->num_crtcs);
 +#endif
-             if (pMemLnx->Core.pv)
-             {
-                 /** @todo fix protection. */
-Index: VirtualBox-6.1.2/include/iprt/time.h
-===================================================================
---- VirtualBox-6.1.2.orig/include/iprt/time.h
-+++ VirtualBox-6.1.2/include/iprt/time.h
-@@ -32,6 +32,24 @@
- #include <iprt/cdefs.h>
- #include <iprt/types.h>
- #include <iprt/assertcompile.h>
-+#ifdef __KERNEL__
-+/* This header is used for both kernel- and user-space code. Beginning
-+ * with v5.6.0-rc3 as part of the Y2038 conversion, several of the
-+ * 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)
-+#define timespec __kernel_old_timespec
-+#define ktime_get_ts ktime_get_ts64
-+#undef time_t
-+#define time_t ktime_t
-+#define timeval __kernel_old_timeval
-+#endif /* kernel version >= 5.6.0 */
-+#endif /* __KERNEL__ */
- 
- RT_C_DECLS_BEGIN
- 
-@@ -433,12 +451,6 @@ DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTim
- }
- 
+ #else
+       ret =
+           drm_fb_helper_init(dev, &fbdev->helper, vbox->num_crtcs,
+@@ -440,7 +443,11 @@ int vbox_fbdev_init(struct drm_device *d
+       if (ret)
+               return ret;
  
--# ifdef _LINUX_TIME64_H
--DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const 
struct timespec64 *pTimeval)
--{
--    return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), 
pTimeval->tv_nsec);
--}
--# endif
- #endif /* various ways of detecting struct timespec */
- 
- 
-Index: VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
-===================================================================
---- VirtualBox-6.1.2.orig/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
-+++ VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
-@@ -35,6 +35,10 @@
- #include <iprt/asm.h>
- 
- 
-+DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const 
struct timespec64 *pTimeval)
-+{
-+    return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), 
pTimeval->tv_nsec);
-+}
- 
- DECLINLINE(uint64_t) rtTimeGetSystemNanoTS(void)
- {
-@@ -43,7 +47,11 @@ DECLINLINE(uint64_t) rtTimeGetSystemNano
-      * Use ktime_get_ts, this is also what clock_gettime(CLOCK_MONOTONIC,) is 
using.
-      */
-     uint64_t u64;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+    struct timespec64 Ts;
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 7, 0)
++      ret = 0;
 +#else
-     struct timespec Ts;
+       ret = drm_fb_helper_single_add_all_connectors(&fbdev->helper);
 +#endif
-     ktime_get_ts(&Ts);
-     u64 = Ts.tv_sec * RT_NS_1SEC_64 + Ts.tv_nsec;
-     return u64;
+       if (ret)
+               goto err_fini;
+ 

++++++ fixes_for_gcc10.patch ++++++
--- /var/tmp/diff_new_pack.rUSv9f/_old  2020-04-18 18:41:06.269962969 +0200
+++ /var/tmp/diff_new_pack.rUSv9f/_new  2020-04-18 18:41:06.269962969 +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.rUSv9f/_old  2020-04-18 18:41:06.277962985 +0200
+++ /var/tmp/diff_new_pack.rUSv9f/_new  2020-04-18 18:41:06.277962985 +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.rUSv9f/_old  2020-04-18 18:41:06.325963087 +0200
+++ /var/tmp/diff_new_pack.rUSv9f/_new  2020-04-18 18:41:06.329963096 +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


++++++ virtualbox-wrapper.sh ++++++
--- /var/tmp/diff_new_pack.rUSv9f/_old  2020-04-18 18:41:06.541963543 +0200
+++ /var/tmp/diff_new_pack.rUSv9f/_new  2020-04-18 18:41:06.541963543 +0200
@@ -28,8 +28,6 @@
 #
 # Ensure that ~/.config/VirtualBox exists
 mkdir -p ~/.config/VirtualBox
-# Originally, this information was in ~/.vbox. Remove any files found there
-rm -rf ~/.vbox
 # Get the inode for /usr/lib/udev/rules.d/60-vboxdrv.rules
 INODE=$(stat /usr/lib/udev/rules.d/60-vboxdrv.rules | grep Inode | cut -d' ' 
-f3)
 if [ ! -f ~/.config/VirtualBox/enable ] && [ ! -f ~/.config/VirtualBox/disable 
] ; then


Reply via email to