- Add patch to handle LEAP 15 API change in wait queues. This change addresses boo#1064524.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=372
This commit is contained in:
Larry Finger 2017-10-21 18:51:06 +00:00 committed by Git OBS Bridge
parent 48db352de9
commit cd06b6876b
3 changed files with 23 additions and 0 deletions

13
fixes_for_leap15.patch Normal file
View File

@ -0,0 +1,13 @@
Index: VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
===================================================================
--- VirtualBox-5.1.30.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
+++ VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
@@ -46,7 +46,7 @@
typedef struct RTR0SEMLNXWAIT
{
/** The wait queue entry. */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 13, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
wait_queue_entry_t WaitQE;
#else
wait_queue_t WaitQE;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Oct 21 18:45:20 UTC 2017 - Larry.Finger@lwfinger.net
- Add patch to handle LEAP 15 API change in wait queues. This change addresses boo#1064524.
-------------------------------------------------------------------
Mon Oct 16 20:13:00 UTC 2017 - Larry.Finger@lwfinger.net

View File

@ -107,6 +107,8 @@ Patch116: Fix_for_server_1.19.patch
Patch117: fix_KMS_support.patch
# Fix invalid use of internal headers
Patch118: internal-headers.patch
# Fix kernl API change in Leap 15
Patch119: fixes_for_leap15.patch
#
BuildRequires: LibVNCServer-devel
BuildRequires: SDL-devel
@ -387,6 +389,9 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
%patch116 -p1
%patch117 -p1
%patch118 -p1
%if 0%{suseversion} == 1500
%patch119 -p1
%endif
#copy user manual
cp %{SOURCE1} UserManual.pdf