1
0
forked from pool/virtualbox

- 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
This commit is contained in:
Larry Finger 2018-11-08 20:10:03 +00:00 committed by Git OBS Bridge
parent 096654cc93
commit 7d8fa777f3
3 changed files with 30 additions and 4 deletions

View File

@ -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);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 8 19:53:22 UTC 2018 - Larry Finger <Larry.Finger@gmail.com>
- 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 <dimstar@opensuse.org>

View File

@ -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