1
0
forked from pool/virtualbox

Accepting request 441682 from Virtualization

Version bump to 5.1.10

OBS-URL: https://build.opensuse.org/request/show/441682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=123
This commit is contained in:
Dominique Leuenberger 2016-11-25 11:27:45 +00:00 committed by Git OBS Bridge
commit 1e0ee8206a
7 changed files with 60 additions and 29 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:545e897e079210e43c3e396732b1a954a37cf644ef0aac915f12e9e20d76eb91
size 4350253
oid sha256:f235abffb94c8e057ce7770863a628b4218f0defd62f4b09ba3c40c356f801b5
size 4354675

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43de72609db33633b0bd857c689e5594b6f3c1d96c7e985a41874729d740402f
size 80265447

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a836c61e8f1d751236d0f25f609bfb5d52adc5d834fc102037778833cea4c1d
size 80056974

View File

@ -1,21 +1,21 @@
Index: VirtualBox-5.1.2/Config.kmk
Index: VirtualBox-5.1.10/Config.kmk
===================================================================
--- VirtualBox-5.1.2.orig/Config.kmk
+++ VirtualBox-5.1.2/Config.kmk
@@ -2542,7 +2542,7 @@ else
# The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)).
--- VirtualBox-5.1.10.orig/Config.kmk
+++ VirtualBox-5.1.10/Config.kmk
@@ -2479,7 +2479,7 @@ else
# 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) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, \2), $$(firstword \3 0))|' )
- $(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))|' )
+ $(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
# Find MinGW cross compilers for EFI on non-windows systems. We need to probe
Index: VirtualBox-5.1.2/configure
Index: VirtualBox-5.1.10/configure
===================================================================
--- VirtualBox-5.1.2.orig/configure
+++ VirtualBox-5.1.2/configure
@@ -431,8 +431,13 @@ check_gcc()
--- VirtualBox-5.1.10.orig/configure
+++ VirtualBox-5.1.10/configure
@@ -433,8 +433,13 @@ check_gcc()
log_failure "cannot execute '$CXX -dumpversion'"
fail really
fi

View File

@ -1,14 +1,18 @@
Index: VirtualBox-5.1.8/src/VBox/Additions/linux/sharedfolders/dirops.c
Index: VirtualBox-5.1.10/src/VBox/Additions/linux/sharedfolders/dirops.c
===================================================================
--- VirtualBox-5.1.8.orig/src/VBox/Additions/linux/sharedfolders/dirops.c
+++ VirtualBox-5.1.8/src/VBox/Additions/linux/sharedfolders/dirops.c
@@ -747,8 +747,14 @@ static int sf_rmdir(struct inode *parent
* @param new_dentry new directory cache entry
--- VirtualBox-5.1.10.orig/src/VBox/Additions/linux/sharedfolders/dirops.c
+++ VirtualBox-5.1.10/src/VBox/Additions/linux/sharedfolders/dirops.c
@@ -748,12 +748,18 @@ static int sf_rmdir(struct inode *parent
* @param flags flags
* @returns 0 on success, Linux error code otherwise
*/
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0)
static int sf_rename(struct inode *old_parent, struct dentry *old_dentry,
struct inode *new_parent, struct dentry *new_dentry)
struct inode *new_parent, struct dentry *new_dentry
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
, unsigned flags
#endif
)
+#else
+static int sf_rename(struct inode *old_parent, struct dentry *old_dentry,
+ struct inode *new_parent, struct dentry *new_dentry,
@ -17,10 +21,10 @@ Index: VirtualBox-5.1.8/src/VBox/Additions/linux/sharedfolders/dirops.c
{
int err = 0, rc = VINF_SUCCESS;
struct sf_glob_info *sf_g = GET_GLOB_INFO(old_parent->i_sb);
Index: VirtualBox-5.1.8/src/VBox/Additions/linux/drm/vbox_ttm.c
Index: VirtualBox-5.1.10/src/VBox/Additions/linux/drm/vbox_ttm.c
===================================================================
--- VirtualBox-5.1.8.orig/src/VBox/Additions/linux/drm/vbox_ttm.c
+++ VirtualBox-5.1.8/src/VBox/Additions/linux/drm/vbox_ttm.c
--- VirtualBox-5.1.10.orig/src/VBox/Additions/linux/drm/vbox_ttm.c
+++ VirtualBox-5.1.10/src/VBox/Additions/linux/drm/vbox_ttm.c
@@ -221,7 +221,8 @@ static int vbox_bo_move(struct ttm_buffe
struct ttm_mem_reg *new_mem)
{
@ -29,12 +33,12 @@ Index: VirtualBox-5.1.8/src/VBox/Additions/linux/drm/vbox_ttm.c
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) || \
+ LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
r = ttm_bo_move_memcpy(bo, evict, no_wait_gpu, new_mem);
#else
#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0)
r = ttm_bo_move_memcpy(bo, evict, interruptible, no_wait_gpu, new_mem);
Index: VirtualBox-5.1.8/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
Index: VirtualBox-5.1.10/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
===================================================================
--- VirtualBox-5.1.8.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+++ VirtualBox-5.1.8/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
--- VirtualBox-5.1.10.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+++ VirtualBox-5.1.10/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
@@ -1045,7 +1045,27 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
/*
* Get user pages.

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Mon Nov 21 22:43:33 UTC 2016 - Larry.Finger@lwfinger.net
- Version bump to 5.1.10 (released 2016-11-21 by Oracle)
This is a maintenance release. The following items were fixed and/or added:
GUI: the USB filter settings dialog should allow to specify the USB revision in hexadecimal format (bug #15400)
GUI: fixed crash on certain hosts when pressing certain key combinations (Windows hosts only; bug #15719)
GUI: fixed issue with updating the available-geometry on host-screen work-area resize
GUI: don't crash / hang on certain environments if accessibility support is enabled
GUI: fixed various issues in Unscaled HiDPI Output mode (bug #15707)
GUI: extend the VM Input menu with Print Screen-related actions
GUI: improved handling of inserting the Guest Additions ISO image by trying all available optical drives rather than only the first one and by not asking the user if he wants to force unmounting (which doesn't work in most cases anyway)
API: default to RTC using UTC for Solaris 11 guests
Settings: be less restrictive when reading a VM configuration containing a host-only adapter without an interface name
Storage: fixed resizing VDI images resulting in an unbootable image under certain circumstances (bug #15983)
NAT: fixed several 5.1.8 regressions on Mac OS X and Windows hosts (bug #16084)
Audio: fixed a few 5.1.x regressions by using the audio code from 5.0.x until the audio overhaul is completed
VBoxManage: fixed documentation of the storagectl command (bug #15971)
Build system: another fix for building VirtualBox on systems which default to Python 3
Windows hosts: hardening fix for Windows 10 build 14971 (bug #16202)
Windows Additions: properly start the VirtualBox guest services even if the guest user name contains special characters (bug #15982)
Solaris Additions: fixed preemptible mouse notification callback being executed under a spinlock for Solaris guests
Linux hosts / guests: Linux 4.9 fixes (bugs #16155 and #16064)
Linux Additions: fixed Linux kernel module override rule (thanks Mark Furneaux)
-------------------------------------------------------------------
Tue Nov 1 15:31:03 UTC 2016 - Larry.Finger@lwfinger.net

View File

@ -19,7 +19,7 @@
%define _vbox_instdir %{_libexecdir}/virtualbox
%define _udevrulesdir %{_libexecdir}/udev/rules.d
Name: virtualbox
Version: 5.1.8
Version: 5.1.10
Release: 0
Summary: VirtualBox is an Emulator
License: GPL-2.0+