Hello community, here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2018-03-24 16:08:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtualbox (Old) and /work/SRC/openSUSE:Factory/.virtualbox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox" Sat Mar 24 16:08:11 2018 rev:159 rq:590432 version:5.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2018-03-13 10:22:18.789479342 +0100 +++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes 2018-03-24 16:08:13.406976663 +0100 @@ -1,0 +2,15 @@ +Thu Mar 22 19:32:44 UTC 2018 - larry.fin...@lwfinger.net + +- Further updates for Leap 15 kernel API changes. + +------------------------------------------------------------------- +Wed Mar 21 15:28:52 UTC 2018 - larry.fin...@lwfinger.net + +- Remove extraneouos %posttrans macros + +------------------------------------------------------------------- +Wed Mar 21 04:06:19 UTC 2018 - larry.fin...@lwfinger.net + +- Update so that the system will build on the new Leap 15 kernel. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virtualbox.spec ++++++ --- /var/tmp/diff_new_pack.h9G0u7/_old 2018-03-24 16:08:16.954848767 +0100 +++ /var/tmp/diff_new_pack.h9G0u7/_new 2018-03-24 16:08:16.966848334 +0100 @@ -109,7 +109,7 @@ Patch116: Fix_for_server_1.19.patch # Fix invalid use of internal headers Patch118: internal-headers.patch -# Fix kernl API change in Leap 15 +# Fix kernel API change in Leap 15 Patch119: fixes_for_leap15.patch # Fix rpmlint error for script /lib/usr/virtualbox/vboxshell.py Patch120: fixes_for_python.patch @@ -409,7 +409,10 @@ %endif %patch120 -p1 %patch121 -p1 +%if 0%{suse_version} != 1500 +# The patch for kernel 4.16 interferes with Leap 15 fixes %patch122 -p1 +%endif #copy user manual cp %{SOURCE1} UserManual.pdf ++++++ fixes_for_leap15.patch ++++++ --- /var/tmp/diff_new_pack.h9G0u7/_old 2018-03-24 16:08:17.030846028 +0100 +++ /var/tmp/diff_new_pack.h9G0u7/_new 2018-03-24 16:08:17.030846028 +0100 @@ -1,7 +1,7 @@ -Index: VirtualBox-5.2.6/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h +Index: VirtualBox-5.2.8/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h -+++ VirtualBox-5.2.6/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h +--- VirtualBox-5.2.8.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h ++++ VirtualBox-5.2.8/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h @@ -46,7 +46,7 @@ typedef struct RTR0SEMLNXWAIT { @@ -11,10 +11,10 @@ wait_queue_entry_t WaitQE; #else wait_queue_t WaitQE; -Index: VirtualBox-5.2.6/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c +Index: VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c -+++ VirtualBox-5.2.6/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c +--- VirtualBox-5.2.8.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c ++++ VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c @@ -150,6 +150,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX # endif #endif @@ -26,3 +26,19 @@ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0) # define VBOX_HAVE_SKB_VLAN #else +Index: VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_mode.c +=================================================================== +--- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/drm/vbox_mode.c ++++ VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_mode.c +@@ -401,11 +401,7 @@ static struct drm_encoder *vbox_best_sin + + /* pick the encoder ids */ + if (enc_id) +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) + return drm_encoder_find(connector->dev, NULL, enc_id); +-#else +- return drm_encoder_find(connector->dev, enc_id); +-#endif + + return NULL; + }