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:
parent
096654cc93
commit
7d8fa777f3
@ -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);
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user