1
0
forked from pool/virtualbox

- Part of the API changes for kernel 5.0 are not fixed upstream. Add file "fixes_for_5.0" back in.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=466
This commit is contained in:
Larry Finger 2019-01-29 15:17:31 +00:00 committed by Git OBS Bridge
parent 6ef2a4ec60
commit a13acfe59b
3 changed files with 23 additions and 0 deletions

15
fixes_for_5.0.patch Normal file
View File

@ -0,0 +1,15 @@
Index: VirtualBox-5.2.24/src/VBox/Additions/linux/sharedfolders/vfsmod.c
===================================================================
--- VirtualBox-5.2.24.orig/src/VBox/Additions/linux/sharedfolders/vfsmod.c
+++ VirtualBox-5.2.24/src/VBox/Additions/linux/sharedfolders/vfsmod.c
@@ -37,6 +37,9 @@
# include <linux/mount.h>
#endif
#include <linux/seq_file.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
+#include <uapi/linux/mount.h>
+#endif
MODULE_DESCRIPTION(VBOX_PRODUCT " VFS Module for Host File System Access");
MODULE_AUTHOR(VBOX_VENDOR);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 29 15:15:53 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
- Part of the API changes for kernel 5.0 are not fixed upstream. Add file "fixes_for_5.0" back in.
-------------------------------------------------------------------
Mon Jan 28 20:29:22 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>

View File

@ -125,6 +125,8 @@ Patch123: switch_to_python3.4+.patch
Patch124: fix_32_bit_builds.patch
# Use build parameters to control video driver problems
Patch125: remove_vbox_video_build.patch
# Fix for API changes in late v5.0
Patch126: fixes_for_5.0
# fix library search
Patch128: fix_lib_search.patch
# Fixes for modified kernel in Leap 15.1
@ -428,6 +430,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
%patch123 -p1
%patch124 -p1
%patch125 -p1
%patch126 -p1
%patch128 -p1
%patch129 -p1