- In kernel 4.13, wait_queue_t => wait_queue_entry_t. File "vbox_fix_for_kernel_4.13.patch" patches the source to account for this change.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=350
This commit is contained in:
parent
6deff5bcfe
commit
cd06ddeb54
14
vbox_fix_for_kernel_4.13.patch
Normal file
14
vbox_fix_for_kernel_4.13.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: VirtualBox-5.1.22/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
||||
===================================================================
|
||||
--- VirtualBox-5.1.22.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
||||
+++ VirtualBox-5.1.22/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
||||
@@ -39,6 +39,9 @@
|
||||
* schedule_hrtimeout_range. */
|
||||
#define RTR0SEMLNXWAIT_RESOLUTION 50000
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 13, 0)
|
||||
+#define wait_queue_t wait_queue_entry_t
|
||||
+#endif
|
||||
|
||||
/**
|
||||
* Kernel mode Linux wait state structure.
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 14:19:44 UTC 2017 - Larry.Finger@lwfinger.net
|
||||
|
||||
- In kernel 4.13, wait_queue_t => wait_queue_entry_t. File "vbox_fix_for_kernel_4.13.patch" patches the source to account for this change.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 18:22:25 UTC 2017 - Larry.Finger@lwfinger.net
|
||||
|
||||
|
@ -106,6 +106,8 @@ Patch116: Fix_for_server_1.19.patch
|
||||
Patch117: vbox_fix_for_kernel_4.12.patch
|
||||
# Fix for missing cleanup in KMS support
|
||||
Patch118: fix_KMS_support.patch
|
||||
# Fix for kernel 4.13 API changes
|
||||
Patch119: vbox_fix_for_kernel_4.13.patch
|
||||
#
|
||||
BuildRequires: LibVNCServer-devel
|
||||
BuildRequires: SDL-devel
|
||||
@ -388,6 +390,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
||||
%patch116 -p1
|
||||
%patch117 -p1
|
||||
%patch118 -p1
|
||||
%patch119 -p1
|
||||
|
||||
#copy user manual
|
||||
cp %{SOURCE1} UserManual.pdf
|
||||
|
Loading…
Reference in New Issue
Block a user