From 7d8fa777f3eb9951f89a4bcd3409394d9da19077bc3c0dd263c20f6cccce938b Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 8 Nov 2018 20:10:03 +0000 Subject: [PATCH] - Update "fixes_for_4.20.patch" for one additional API change so that Kernel_HEAD_standard will build. The description of VB was modified as suggested by Jan Engelhardt. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=453 --- fixes_for_4.20.patch | 17 +++++++++++++++++ virtualbox.changes | 7 +++++++ virtualbox.spec | 10 ++++++---- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/fixes_for_4.20.patch b/fixes_for_4.20.patch index 94fdfff..15fca5a 100644 --- a/fixes_for_4.20.patch +++ b/fixes_for_4.20.patch @@ -173,3 +173,20 @@ Index: VirtualBox-5.2.20/include/iprt/time.h #endif /* various ways of detecting struct timespec */ +Index: VirtualBox-5.2.20/src/VBox/Additions/linux/drm/vbox_fb.c +=================================================================== +--- VirtualBox-5.2.20.orig/src/VBox/Additions/linux/drm/vbox_fb.c ++++ VirtualBox-5.2.20/src/VBox/Additions/linux/drm/vbox_fb.c +@@ -297,8 +297,12 @@ static int vboxfb_create(struct drm_fb_h + * The last flag forces a mode set on VT switches even if the kernel + * does not think it is needed. + */ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 20, 0) ++ info->flags = FBINFO_DEFAULT | FBINFO_MISC_ALWAYS_SETPAR; ++#else + info->flags = FBINFO_DEFAULT | FBINFO_CAN_FORCE_OUTPUT | + FBINFO_MISC_ALWAYS_SETPAR; ++#endif + info->fbops = &vboxfb_ops; + + ret = fb_alloc_cmap(&info->cmap, 256, 0); diff --git a/virtualbox.changes b/virtualbox.changes index 78c9298..0a44bfb 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 8 19:53:22 UTC 2018 - Larry Finger + +- Update "fixes_for_4.20.patch" for one additional API change so that + Kernel_HEAD_standard will build. + The description of VB was modified as suggested by Jan Engelhardt. + ------------------------------------------------------------------- Tue Nov 6 08:47:25 UTC 2018 - Dominique Leuenberger diff --git a/virtualbox.spec b/virtualbox.spec index 02c9ef9..e2f5652 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -233,10 +233,12 @@ BuildRequires: xorg-x11-libXt-devel-32bit %posttrans %description -VirtualBox is an extremely feature rich, high performance product -for enterprise customers, it is also the only professional solution -that is freely available as Open Source Software under the terms of the -GNU Public License (GPL). +VirtualBox is a hosted hypervisor for x86 computers. It supports the +creation and management of guest virtual machines running versions +and derivations of Windows, Linux, BSD, OS/2, Solaris, Haiku, OSx86 +and others, and limited virtualization of macOS guests on Apple +hardware. VirtualBox is freely available as Open Source Software under +the terms of the GNU Public License (GPL). ########################################## %package qt