Hello community, here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2017-10-31 15:43:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtualbox (Old) and /work/SRC/openSUSE:Factory/.virtualbox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox" Tue Oct 31 15:43:15 2017 rev:145 rq:537648 version:5.1.30 Changes: -------- --- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2017-10-23 16:39:53.498312325 +0200 +++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes 2017-10-31 15:43:17.263323347 +0100 @@ -1,0 +2,6 @@ +Sat Oct 21 18:45:20 UTC 2017 - larry.fin...@lwfinger.net + +- Add patch to handle LEAP 15 API change in wait queues. This change addresses boo#1064524. + File "fixes_for_leap15.patch" is added to accomplish this task. + +------------------------------------------------------------------- New: ---- fixes_for_leap15.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virtualbox.spec ++++++ --- /var/tmp/diff_new_pack.AgBXH8/_old 2017-10-31 15:43:19.815230838 +0100 +++ /var/tmp/diff_new_pack.AgBXH8/_new 2017-10-31 15:43:19.819230693 +0100 @@ -107,6 +107,8 @@ 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 @@ %patch116 -p1 %patch117 -p1 %patch118 -p1 +%if 0%{suse_version} >= 1500 +%patch119 -p1 +%endif #copy user manual cp %{SOURCE1} UserManual.pdf ++++++ fixes_for_leap15.patch ++++++ 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;