Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2021-07-22 22:42:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and      /work/SRC/openSUSE:Factory/.virtualbox.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virtualbox"

Thu Jul 22 22:42:50 2021 rev:220 rq:907366 version:6.1.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes    2021-07-17 
23:36:43.185932245 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.1899/virtualbox.changes  
2021-07-22 22:43:17.535205137 +0200
@@ -1,0 +2,33 @@
+Tue Jul 20 23:38:41 UTC 2021 - Larry Finger <larry.fin...@gmail.com>
+
+- Version bump to 6.1.24 (released July 20 2021 by Oracle)
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  Storage: Fixed starting a VM if a device is attached to a VirtIO SCSI port 
higher than 30 (bug #20213)
+  Storage: Improvement to DVD medium change signaling
+  Serial: Fixed a the guest missing interrupts under certain circumstances 
(6.0 regression, bug #18668)
+  Audio: Multiple fixes and enhancements
+  Network: Fixed connectivity issue with virtio-net after resuming VM with 
disconnected link
+  Network: Fixed UDP GSO fragmentation issue with missing 8 bytes of payload 
at the end of the first fragment
+  API: Fixed VM configuration for recent Windows Server versions
+  Extension Pack: Fixed issues with USB webcam pass-through on Linux
+  Host and guest driver: Fix small memory leak (bug #20280)
+  Linux host and guest: Support kernel version 5.13 (bug #20456)
+  Linux host and guest: Introduce support for SUSE SLES/SLED 15 SP3 kernels 
(bug #20396)
+  Linux host: Installer will not attempt to build kernel modules if system 
already has them installed and modules versions match current version
+  Guest Additions: Fixed crash on using shared clipboard (bug #19165)
+  Linux Guest Additions: Introduce support for Ubuntu specific kernels (bug 
#20325)
+  Solaris guest: Increased default memory and disk sizes
+  EFI: Support network booting with the E1000 network controller emulation
+  EFI: Stability improvements (bug #20090)
+
+  Delete file "fix_random_stack_failure.patch" - fixed upstream.
+
+-------------------------------------------------------------------
+Fri Jul 16 18:52:48 UTC 2021 - Larry Finger <larry.fin...@gmail.com>
+
+-  Add vboximg-mount to packaging. boo#1188045.
+   Fix an error in file "fixes_for_5.14.patch".
+
+-------------------------------------------------------------------
@@ -5 +38 @@
-  problem with kernel 5.13 as shown in boo#118105. 
+  problem with kernel 5.13 as shown in boo#1188105. 

Old:
----
  VirtualBox-6.1.22-patched.tar.bz2
  fix_random_stack_failure.patch

New:
----
  VirtualBox-6.1.24-patched.tar.bz2

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

Other differences:
------------------
++++++ virtualbox.spec ++++++
--- /var/tmp/diff_new_pack.gMM0ii/_old  2021-07-22 22:43:18.819203463 +0200
+++ /var/tmp/diff_new_pack.gMM0ii/_new  2021-07-22 22:43:18.823203458 +0200
@@ -70,7 +70,7 @@
 
 # ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
 Name:           virtualbox%{?dash}%{?name_suffix}
-Version:        6.1.22
+Version:        6.1.24
 Release:        0
 Summary:        %{package_summary}
 License:        GPL-2.0-or-later
@@ -188,8 +188,6 @@
 Patch141:       vb-6.1.16-modal-dialog-parent.patch
 # Fixes for kernel 5.14
 Patch142:       fixes_for_5.14.patch
-# Fix for CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT
-Patch143:       fix_random_stack_failure.patch
 Patch999:       virtualbox-fix-ui-background-color.patch
 #
 
@@ -347,6 +345,14 @@
 
 
 
+
+
+
+
+
+
+
+
 ##########################################
 %package qt
 Summary:        Qt GUI part for %{name}
@@ -397,6 +403,14 @@
 
 
 
+
+
+
+
+
+
+
+
 #########################################
 %package websrv
 Summary:        WebService GUI part for %{name}
@@ -441,6 +455,14 @@
 
 
 
+
+
+
+
+
+
+
+
 #########################################
 %package guest-x11
 Summary:        VirtualBox X11 drivers for mouse and video
@@ -487,6 +509,14 @@
 
 
 
+
+
+
+
+
+
+
+
 ###########################################
 %package guest-tools
 Summary:        VirtualBox guest tools
@@ -538,6 +568,14 @@
 
 
 
+
+
+
+
+
+
+
+
 ###########################################
 %package -n python3-%{name}
 Summary:        Python bindings for %{name}
@@ -589,6 +627,14 @@
 
 
 
+
+
+
+
+
+
+
+
 ###########################################
 %package devel
 Summary:        Devel files for %{name}
@@ -635,6 +681,14 @@
 
 
 
+
+
+
+
+
+
+
+
 ###########################################
 %package host-source
 Summary:        Source files for %{name} host kernel modules
@@ -683,6 +737,14 @@
 
 
 
+
+
+
+
+
+
+
+
 ###########################################
 %package guest-desktop-icons
 Summary:        Icons for guest desktop files
@@ -727,6 +789,14 @@
 
 
 
+
+
+
+
+
+
+
+
 ###########################################
 %package vnc
 Summary:        VNC desktop sharing
@@ -800,7 +870,6 @@
 %endif
 %patch141 -p1
 %patch142 -p1
-%patch143 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 
@@ -959,6 +1028,7 @@
 install -m 755 VBoxDbg.so                      %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxDbg.so                      %{buildroot}%{_vbox_instdir}
 install -m 755 UICommon.so                     %{buildroot}%{_vbox_instdir}
+install -m 755 vboximg-mount                   %{buildroot}%{_vbox_instdir}
 # create links to vbox tools in PATH - they could be usefull for controlling 
vbox from command line
 ln -s %{_vbox_instdir}/VBoxManage              
%{buildroot}%{_bindir}/VBoxManage
 ln -s %{_vbox_instdir}/VBoxHeadless            
%{buildroot}%{_bindir}/VBoxHeadless
@@ -970,6 +1040,7 @@
 install -m 755 VBoxTestOGL                     %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxPermissionMessage           %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxSUIDMessage                 %{buildroot}%{_vbox_instdir}
+install -m 755 vboximg-mount                   %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxUSB_DevRules                        
%{buildroot}%{_vbox_instdir}
 install -m 755 VBoxNetDHCP                     %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxNetAdpCtl                   %{buildroot}%{_vbox_instdir}
@@ -1261,6 +1332,7 @@
 %{_vbox_instdir}/VBoxTunctl
 %{_vbox_instdir}/VBoxXPCOMIPCD
 %{_vbox_instdir}/VBoxExtPackHelperApp
+%{_vbox_instdir}/vboximg-mount
 %{_vbox_instdir}/DbgPlugInDiggers.so
 %{_vbox_instdir}/VBoxAuth.so
 %{_vbox_instdir}/VBoxAuthSimple.so

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

++++++ VirtualBox-6.1.22-patched.tar.bz2 -> VirtualBox-6.1.24-patched.tar.bz2 
++++++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-6.1.22-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new.1899/VirtualBox-6.1.24-patched.tar.bz2
 differ: char 11, line 1

++++++ fixes_for_5.14.patch ++++++
--- /var/tmp/diff_new_pack.gMM0ii/_old  2021-07-22 22:43:18.935203312 +0200
+++ /var/tmp/diff_new_pack.gMM0ii/_new  2021-07-22 22:43:18.939203307 +0200
@@ -9,7 +9,7 @@
 +#if RTLNX_VER_MAX(5, 14,0)
      if (!(iter->type & ITER_KVEC)) {
 +#else
-+    if (iov_iter_type(iter) != ITER_KVEC) {
++    if (!iov_iter_is_kvec(iter)) {
 +#endif
          /*
           * Do we have a stashed page?
@@ -21,7 +21,7 @@
 +# if RTLNX_VER_MAX(5, 14, 0)
      if (iter_is_iovec(iter) || (iter->type & ITER_KVEC)) {
 +#else
-+    if (iter_is_iovec(iter) || (iter_is_iovec(iter) == ITER_KVEC)) {
++    if (iter_is_iovec(iter) || iov_iter_is_kvec(iter)) {
 +#endif
  #endif
          const struct iovec *pCurIov    = iter->iov;

++++++ fixes_for_leap15.2.patch ++++++
--- /var/tmp/diff_new_pack.gMM0ii/_old  2021-07-22 22:43:18.955203286 +0200
+++ /var/tmp/diff_new_pack.gMM0ii/_new  2021-07-22 22:43:18.955203286 +0200
@@ -1,7 +1,7 @@
-Index: 
VirtualBox-6.1.20/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+Index: 
VirtualBox-6.1.24/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 ===================================================================
---- 
VirtualBox-6.1.20.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
-+++ VirtualBox-6.1.20/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+--- 
VirtualBox-6.1.24.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
++++ VirtualBox-6.1.24/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 @@ -76,6 +76,10 @@
  #define VBOXNETFLT_OS_SPECFIC 1
  #include "../VBoxNetFltInternal.h"
@@ -13,15 +13,15 @@
  typedef struct VBOXNETFLTNOTIFIER {
      struct notifier_block Notifier;
      PVBOXNETFLTINS pThis;
-Index: VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_drv.c
+Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.c
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Additions/linux/drm/vbox_drv.c
-+++ VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_drv.c
+--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_drv.c
++++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.c
 @@ -310,12 +310,15 @@ static void vbox_master_drop(struct drm_
  }
  
  static struct drm_driver driver = {
--#if RTLNX_VER_MAX(5,4,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3)
+-#if RTLNX_VER_MAX(5,4,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3) && 
!RTLNX_SUSE_MAJ_PREREQ(15,3)
 -      .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ |
 +#if RTLNX_VER_MAX(5,4,0)
 +      .driver_features =
@@ -33,13 +33,13 @@
  # endif
 -          DRIVER_PRIME,
 +          DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ,
- #else  /* >= 5.4.0 && RHEL >= 8.3 */
+ #else  /* >= 5.4.0 && RHEL >= 8.3 && SLES >= 15-SP3 */
                .driver_features = DRIVER_MODESET | DRIVER_GEM | 
DRIVER_HAVE_IRQ,
  #endif /* <  5.4.0 */
-Index: VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_main.c
+Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_main.c
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Additions/linux/drm/vbox_main.c
-+++ VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_main.c
+--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_main.c
++++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_main.c
 @@ -640,8 +640,12 @@ static inline u64 vbox_bo_mmap_offset(st
  #elif RTLNX_VER_MAX(3,12,0) && !RTLNX_RHEL_MAJ_PREREQ(7,0)
        return bo->bo.addr_space_offset;
@@ -53,11 +53,11 @@
  }
  
  int
-Index: VirtualBox-6.1.20/include/iprt/cdefs.h
+Index: VirtualBox-6.1.24/include/iprt/cdefs.h
 ===================================================================
---- VirtualBox-6.1.20.orig/include/iprt/cdefs.h
-+++ VirtualBox-6.1.20/include/iprt/cdefs.h
-@@ -1173,14 +1173,15 @@
+--- VirtualBox-6.1.24.orig/include/iprt/cdefs.h
++++ VirtualBox-6.1.24/include/iprt/cdefs.h
+@@ -1184,14 +1184,15 @@
   * Tell the compiler that we're falling through to the next case in a switch.
   * @sa RT_FALL_THRU  */
  #if RT_GNUC_PREREQ(7, 0)

++++++ fixes_for_leap15.3.patch ++++++
--- /var/tmp/diff_new_pack.gMM0ii/_old  2021-07-22 22:43:18.963203276 +0200
+++ /var/tmp/diff_new_pack.gMM0ii/_new  2021-07-22 22:43:18.967203270 +0200
@@ -1,13 +1,13 @@
-Index: VirtualBox-6.1.18/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
+Index: VirtualBox-6.1.24/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
 ===================================================================
---- VirtualBox-6.1.18.orig/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
-+++ VirtualBox-6.1.18/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
+--- VirtualBox-6.1.24.orig/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
++++ VirtualBox-6.1.24/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
 @@ -137,9 +137,9 @@
  #include <linux/interrupt.h>
  #include <linux/completion.h>
  #include <linux/compiler.h>
--#if RTLNX_VER_MIN(5,9,0) /* linux/fs.h defined HAVE_UNLOCKED_IOCTL from 
2.6.11 up to 5.9, when it became an implicit assumption. */
-+//#if RTLNX_VER_MIN(5,9,0) /* linux/fs.h defined HAVE_UNLOCKED_IOCTL from 
2.6.11 up to 5.9, when it became an implicit assumption. */
+-#if RTLNX_VER_MIN(5,9,0) || RTLNX_SUSE_MAJ_PREREQ(15,3) /* linux/fs.h defined 
HAVE_UNLOCKED_IOCTL from 2.6.11 up to 5.9 (also 5.3.18-56 in SLES15-SP3), when 
it became an implicit assumption. */
++//#if RTLNX_VER_MIN(5,9,0) || RTLNX_SUSE_MAJ_PREREQ(15,3) /* linux/fs.h 
defined HAVE_UNLOCKED_IOCTL from 2.6.11 up to 5.9 (also 5.3.18-56 in 
SLES15-SP3), when it became an implicit assumption. */
  # define HAVE_UNLOCKED_IOCTL 1 /* We use this in a couple of places, so for 
now just define it for 5.9+ too. */
 -#endif
 +//#endif

++++++ fixes_for_sle12.patch ++++++
--- /var/tmp/diff_new_pack.gMM0ii/_old  2021-07-22 22:43:18.983203250 +0200
+++ /var/tmp/diff_new_pack.gMM0ii/_new  2021-07-22 22:43:18.983203250 +0200
@@ -1,7 +1,7 @@
-Index: VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_drv.c
+Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.c
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Additions/linux/drm/vbox_drv.c
-+++ VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_drv.c
+--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_drv.c
++++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.c
 @@ -330,7 +330,9 @@ static struct drm_driver driver = {
        .master_drop = vbox_master_drop,
  #if RTLNX_VER_MIN(3,18,0) || RTLNX_RHEL_MAJ_PREREQ(7,2)
@@ -12,10 +12,10 @@
  # endif
  #endif
  
-Index: VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_main.c
+Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_main.c
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Additions/linux/drm/vbox_main.c
-+++ VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_main.c
+--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_main.c
++++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_main.c
 @@ -618,11 +618,13 @@ int vbox_dumb_destroy(struct drm_file *f
  #endif
  
@@ -30,11 +30,11 @@
  
  void vbox_gem_free_object(struct drm_gem_object *obj)
  {
-Index: VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_ttm.c
+Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_ttm.c
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Additions/linux/drm/vbox_ttm.c
-+++ VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_ttm.c
-@@ -271,7 +271,7 @@ static struct ttm_backend_func vbox_tt_b
+--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_ttm.c
++++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_ttm.c
+@@ -291,7 +291,7 @@ static struct ttm_backend_func vbox_tt_b
  };
  #endif
  
@@ -43,7 +43,7 @@
  static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev,
                                         unsigned long size,
                                         u32 page_flags,
-@@ -290,7 +290,7 @@ static struct ttm_tt *vbox_ttm_tt_create
+@@ -310,7 +310,7 @@ static struct ttm_tt *vbox_ttm_tt_create
  #if RTLNX_VER_MAX(5,10,0)
        tt->func = &vbox_tt_backend_func;
  #endif
@@ -52,7 +52,7 @@
        if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
  #elif RTLNX_VER_MAX(5,11,0)
        if (ttm_tt_init(tt, bo, page_flags)) {
-@@ -305,7 +305,7 @@ static struct ttm_tt *vbox_ttm_tt_create
+@@ -325,7 +325,7 @@ static struct ttm_tt *vbox_ttm_tt_create
  }
  
  #if RTLNX_VER_MAX(4,17,0)
@@ -61,7 +61,7 @@
  static int vbox_ttm_tt_populate(struct ttm_tt *ttm)
  {
        return ttm_pool_populate(ttm);
-@@ -353,7 +353,7 @@ static struct ttm_bo_driver vbox_bo_driv
+@@ -377,7 +377,7 @@ static struct ttm_bo_driver vbox_bo_driv
        .io_mem_reserve = &vbox_ttm_io_mem_reserve,
        .io_mem_free = &vbox_ttm_io_mem_free,
  #if RTLNX_VER_MIN(4,12,0) || RTLNX_RHEL_MAJ_PREREQ(7,5)
@@ -70,16 +70,16 @@
        .io_mem_pfn = ttm_bo_default_io_mem_pfn,
  # endif
  #endif
-@@ -556,7 +556,7 @@ int vbox_bo_create(struct drm_device *de
+@@ -600,7 +600,7 @@ int vbox_bo_create(struct drm_device *de
  
        ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size,
                          ttm_bo_type_device, &vboxbo->placement,
 -#if RTLNX_VER_MAX(4,17,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && 
!RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5)
 +#if RTLNX_VER_MAX(4,17,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && 
!RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && 
!defined(SUSE_SLE12)
                          align >> PAGE_SHIFT, false, NULL, acc_size,
- #else
+ #elif RTLNX_VER_MAX(5,13,0) /* < 5.13.0 */
                          align >> PAGE_SHIFT, false, acc_size,
-@@ -589,7 +589,7 @@ static inline u64 vbox_bo_gpu_offset(str
+@@ -635,7 +635,7 @@ static inline u64 vbox_bo_gpu_offset(str
  
  int vbox_bo_pin(struct vbox_bo *bo, u32 mem_type, u64 *gpu_addr)
  {
@@ -88,7 +88,7 @@
        struct ttm_operation_ctx ctx = { false, false };
  #endif
        int ret;
-@@ -612,7 +612,7 @@ int vbox_bo_pin(struct vbox_bo *bo, u32
+@@ -658,7 +658,7 @@ int vbox_bo_pin(struct vbox_bo *bo, u32
                PLACEMENT_FLAGS(bo->placements[i]) |= TTM_PL_FLAG_NO_EVICT;
  #endif
  
@@ -97,7 +97,7 @@
        ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
  #else
        ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx);
-@@ -634,7 +634,7 @@ int vbox_bo_pin(struct vbox_bo *bo, u32
+@@ -680,7 +680,7 @@ int vbox_bo_pin(struct vbox_bo *bo, u32
  
  int vbox_bo_unpin(struct vbox_bo *bo)
  {
@@ -106,7 +106,7 @@
  # if RTLNX_VER_MAX(5,11,0)
        struct ttm_operation_ctx ctx = { false, false };
  # endif
-@@ -657,7 +657,7 @@ int vbox_bo_unpin(struct vbox_bo *bo)
+@@ -703,7 +703,7 @@ int vbox_bo_unpin(struct vbox_bo *bo)
                PLACEMENT_FLAGS(bo->placements[i]) &= ~TTM_PL_FLAG_NO_EVICT;
  #endif
  
@@ -115,7 +115,7 @@
        ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
  #elif RTLNX_VER_MAX(5,11,0)
        ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx);
-@@ -680,7 +680,7 @@ int vbox_bo_unpin(struct vbox_bo *bo)
+@@ -726,7 +726,7 @@ int vbox_bo_unpin(struct vbox_bo *bo)
   */
  int vbox_bo_push_sysram(struct vbox_bo *bo)
  {
@@ -124,7 +124,7 @@
        struct ttm_operation_ctx ctx = { false, false };
  # endif
        int i, ret;
-@@ -701,7 +701,7 @@ int vbox_bo_push_sysram(struct vbox_bo *
+@@ -747,7 +747,7 @@ int vbox_bo_push_sysram(struct vbox_bo *
        for (i = 0; i < bo->placement.num_placement; i++)
                PLACEMENT_FLAGS(bo->placements[i]) |= TTM_PL_FLAG_NO_EVICT;
  
@@ -133,10 +133,10 @@
        ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
  # else
        ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx);
-Index: VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_drv.h
+Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.h
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Additions/linux/drm/vbox_drv.h
-+++ VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_drv.h
+--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_drv.h
++++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_drv.h
 @@ -87,6 +87,9 @@
  #else
  # define RTLNX_RHEL_MAX(a_iMajor, a_iMinor) (0)
@@ -147,10 +147,10 @@
  
  /** @def RTLNX_RHEL_RANGE
   * Check that it's a RedHat kernel in the given version range.
-Index: VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_mode.c
+Index: VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_mode.c
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Additions/linux/drm/vbox_mode.c
-+++ VirtualBox-6.1.20/src/VBox/Additions/linux/drm/vbox_mode.c
+--- VirtualBox-6.1.24.orig/src/VBox/Additions/linux/drm/vbox_mode.c
++++ VirtualBox-6.1.24/src/VBox/Additions/linux/drm/vbox_mode.c
 @@ -544,7 +544,8 @@ static void vbox_set_edid(struct drm_con
        for (i = 0; i < EDID_SIZE - 1; ++i)
                sum += edid[i];

++++++ switch_to_python3.4+.patch ++++++
--- /var/tmp/diff_new_pack.gMM0ii/_old  2021-07-22 22:43:19.007203218 +0200
+++ /var/tmp/diff_new_pack.gMM0ii/_new  2021-07-22 22:43:19.011203212 +0200
@@ -1,7 +1,7 @@
-Index: VirtualBox-6.1.20/src/bldprogs/scm.cpp
+Index: VirtualBox-6.1.24/src/bldprogs/scm.cpp
 ===================================================================
---- VirtualBox-6.1.20.orig/src/bldprogs/scm.cpp
-+++ VirtualBox-6.1.20/src/bldprogs/scm.cpp
+--- VirtualBox-6.1.24.orig/src/bldprogs/scm.cpp
++++ VirtualBox-6.1.24/src/bldprogs/scm.cpp
 @@ -2206,7 +2206,7 @@ static int scmProcessFileInner(PSCMRWSTA
                              pszTreatAs = "shell";
                          else if (   (cchFirst >= 15 && strncmp(pchFirst, 
"/usr/bin/python", 15) == 0)
@@ -11,10 +11,10 @@
                          else if (   (cchFirst >= 13 && strncmp(pchFirst, 
"/usr/bin/perl", 13) == 0)
                                   || (cchFirst >= 17 && strncmp(pchFirst, 
"/usr/bin/env perl", 17) == 0) )
                              pszTreatAs = "perl";
-Index: VirtualBox-6.1.20/src/libs/libxml2-2.9.4/configure
+Index: VirtualBox-6.1.24/src/libs/libxml2-2.9.4/configure
 ===================================================================
---- VirtualBox-6.1.20.orig/src/libs/libxml2-2.9.4/configure
-+++ VirtualBox-6.1.20/src/libs/libxml2-2.9.4/configure
+--- VirtualBox-6.1.24.orig/src/libs/libxml2-2.9.4/configure
++++ VirtualBox-6.1.24/src/libs/libxml2-2.9.4/configure
 @@ -15153,10 +15153,10 @@ PYTHON_SITE_PACKAGES=
  PYTHON_TESTS=
  pythondir=
@@ -39,10 +39,10 @@
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_path_PYTHON+:} false; then :
-Index: VirtualBox-6.1.20/src/VBox/ValidationKit/testboxscript/setup.sh
+Index: VirtualBox-6.1.24/src/VBox/ValidationKit/testboxscript/setup.sh
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/ValidationKit/testboxscript/setup.sh
-+++ VirtualBox-6.1.20/src/VBox/ValidationKit/testboxscript/setup.sh
+--- VirtualBox-6.1.24.orig/src/VBox/ValidationKit/testboxscript/setup.sh
++++ VirtualBox-6.1.24/src/VBox/ValidationKit/testboxscript/setup.sh
 @@ -652,7 +652,7 @@ import sys;\
  x = sys.version_info[0] == 2 and (sys.version_info[1] >= 6 or 
(sys.version_info[1] == 5 and sys.version_info[2] >= 1));\
  sys.exit(not x);\
@@ -52,12 +52,12 @@
      do
          python=`which ${python} 2> /dev/null`
          if [ -n "${python}" -a -x "${python}" ]; then
-Index: VirtualBox-6.1.20/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
+Index: VirtualBox-6.1.24/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
 ===================================================================
---- VirtualBox-6.1.20.orig/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
-+++ VirtualBox-6.1.20/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
-@@ -20,7 +20,7 @@
- %define %PYTHON% 1
+--- VirtualBox-6.1.24.orig/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
++++ VirtualBox-6.1.24/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
+@@ -21,7 +21,7 @@
+ %define %CHM% 1
  %define VBOXDOCDIR %{_defaultdocdir}/%NAME%
  %global __requires_exclude_from 
^/usr/lib/virtualbox/VBoxPython.*$|^/usr/lib/python.*$|^.*\\.py$
 -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
@@ -65,7 +65,7 @@
  
  Summary:   Oracle VM VirtualBox
  Name:      %NAME%
-@@ -100,7 +100,7 @@ install -m 755 -d $RPM_BUILD_ROOT/usr/sh
+@@ -101,7 +101,7 @@ install -m 755 -d $RPM_BUILD_ROOT/usr/sh
  %if %{?with_python:1}%{!?with_python:0}
  (export VBOX_INSTALL_PATH=/usr/lib/virtualbox && \
    cd ./sdk/installer && \
@@ -74,10 +74,10 @@
  %endif
  rm -rf sdk/installer
  mv nls $RPM_BUILD_ROOT/usr/share/virtualbox
-Index: VirtualBox-6.1.20/src/libs/libxml2-2.9.4/libxml.spec.in
+Index: VirtualBox-6.1.24/src/libs/libxml2-2.9.4/libxml.spec.in
 ===================================================================
---- VirtualBox-6.1.20.orig/src/libs/libxml2-2.9.4/libxml.spec.in
-+++ VirtualBox-6.1.20/src/libs/libxml2-2.9.4/libxml.spec.in
+--- VirtualBox-6.1.24.orig/src/libs/libxml2-2.9.4/libxml.spec.in
++++ VirtualBox-6.1.24/src/libs/libxml2-2.9.4/libxml.spec.in
 @@ -101,11 +101,11 @@ rm -fr %{buildroot}
  
  make install DESTDIR=%{buildroot}
@@ -93,10 +93,10 @@
  
  
  rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-Index: VirtualBox-6.1.20/src/libs/libxml2-2.9.4/libxml2.spec
+Index: VirtualBox-6.1.24/src/libs/libxml2-2.9.4/libxml2.spec
 ===================================================================
---- VirtualBox-6.1.20.orig/src/libs/libxml2-2.9.4/libxml2.spec
-+++ VirtualBox-6.1.20/src/libs/libxml2-2.9.4/libxml2.spec
+--- VirtualBox-6.1.24.orig/src/libs/libxml2-2.9.4/libxml2.spec
++++ VirtualBox-6.1.24/src/libs/libxml2-2.9.4/libxml2.spec
 @@ -103,7 +103,7 @@ make install DESTDIR=%{buildroot}
  
  %if 0%{?with_python3}
@@ -106,10 +106,10 @@
  make install DESTDIR=%{buildroot}
  %endif # with_python3
  
-Index: VirtualBox-6.1.20/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
+Index: VirtualBox-6.1.24/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
 ===================================================================
---- VirtualBox-6.1.20.orig/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
-+++ VirtualBox-6.1.20/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
+--- VirtualBox-6.1.24.orig/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
++++ VirtualBox-6.1.24/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
 @@ -439,6 +439,8 @@ char *PyTraceback_AsString(PyObject *exc
        { // a temp scope so I can use temp locals.
  #if PY_MAJOR_VERSION <= 2
@@ -119,10 +119,10 @@
  #else
      /* PyUnicode_AsUTF8() is const char * as of Python 3.7, char * earlier. */
        const char *tempResult = (const char *)PyUnicode_AsUTF8(obResult);
-Index: VirtualBox-6.1.20/src/libs/xpcom18a4/python/src/PyGBase.cpp
+Index: VirtualBox-6.1.24/src/libs/xpcom18a4/python/src/PyGBase.cpp
 ===================================================================
---- VirtualBox-6.1.20.orig/src/libs/xpcom18a4/python/src/PyGBase.cpp
-+++ VirtualBox-6.1.20/src/libs/xpcom18a4/python/src/PyGBase.cpp
+--- VirtualBox-6.1.24.orig/src/libs/xpcom18a4/python/src/PyGBase.cpp
++++ VirtualBox-6.1.24/src/libs/xpcom18a4/python/src/PyGBase.cpp
 @@ -183,7 +183,11 @@ PyG_Base::~PyG_Base()
  // Get the correct interface pointer for this object given the IID.
  void *PyG_Base::ThisAsIID( const nsIID &iid )
@@ -136,10 +136,10 @@
        if (iid.Equals(NS_GET_IID(nsISupports)))
                return (nsISupports *)(nsIInternalPython *)this;
        if (iid.Equals(NS_GET_IID(nsISupportsWeakReference)))
-Index: VirtualBox-6.1.20/src/libs/xpcom18a4/python/Makefile.kmk
+Index: VirtualBox-6.1.24/src/libs/xpcom18a4/python/Makefile.kmk
 ===================================================================
---- VirtualBox-6.1.20.orig/src/libs/xpcom18a4/python/Makefile.kmk
-+++ VirtualBox-6.1.20/src/libs/xpcom18a4/python/Makefile.kmk
+--- VirtualBox-6.1.24.orig/src/libs/xpcom18a4/python/Makefile.kmk
++++ VirtualBox-6.1.24/src/libs/xpcom18a4/python/Makefile.kmk
 @@ -579,6 +579,52 @@ VBoxPython3_9m_x86_LIBS       = $(VBOX_P
   endif
  endif
@@ -193,10 +193,10 @@
  ifdef VBOX_PYTHONDEF_INC
  #
  # Python without versioning
-Index: VirtualBox-6.1.20/src/libs/xpcom18a4/python/gen_python_deps.py
+Index: VirtualBox-6.1.24/src/libs/xpcom18a4/python/gen_python_deps.py
 ===================================================================
---- VirtualBox-6.1.20.orig/src/libs/xpcom18a4/python/gen_python_deps.py
-+++ VirtualBox-6.1.20/src/libs/xpcom18a4/python/gen_python_deps.py
+--- VirtualBox-6.1.24.orig/src/libs/xpcom18a4/python/gen_python_deps.py
++++ VirtualBox-6.1.24/src/libs/xpcom18a4/python/gen_python_deps.py
 @@ -16,7 +16,7 @@ from __future__ import print_function
  import os,sys
  from distutils.version import StrictVersion

Reply via email to