Accepting request 709210 from home:lwfinger:branches:openSUSE:Factory
- Fix build for SLE15 SP1 - add file "fixes_for_SLE15.patch" OBS-URL: https://build.opensuse.org/request/show/709210 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=493
This commit is contained in:
parent
a92ea7b15a
commit
d9d5fe30bb
@ -1,3 +1,10 @@
|
|||||||
|
There are two kernel 5.2 API changes that affect VirtualBox:
|
||||||
|
|
||||||
|
1. drm_fb_helper_fill_fix() and drm_fb_helper_fill_var() are replaced
|
||||||
|
by drm_fb_helper_fill_info().
|
||||||
|
2. The arguments for ttm_bo_device_init() are changed.
|
||||||
|
|
||||||
|
|
||||||
Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_fb.c
|
Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_fb.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_fb.c
|
--- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_fb.c
|
||||||
|
16
fixes_for_SLE15.patch
Normal file
16
fixes_for_SLE15.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
+++ VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||||
|
@@ -283,11 +283,6 @@ static struct drm_driver driver = {
|
||||||
|
.lastclose = vbox_driver_lastclose,
|
||||||
|
.master_set = vbox_master_set,
|
||||||
|
.master_drop = vbox_master_drop,
|
||||||
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73)
|
||||||
|
-# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) && !defined(RHEL_75)
|
||||||
|
- .set_busid = drm_pci_set_busid,
|
||||||
|
-# endif
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
.fops = &vbox_fops,
|
||||||
|
.irq_handler = vbox_irq_handler,
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 10 18:09:09 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Fix build for SLE15 SP1 - add file "fixes_for_SLE15.patch"
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 30 02:58:13 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
Thu May 30 02:58:13 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
@ -147,6 +147,8 @@ Patch130: fixes_for_Leap42.3.patch
|
|||||||
Patch131: fixes_for_qt5.13.patch
|
Patch131: fixes_for_qt5.13.patch
|
||||||
# Fixes for kernel 5.2
|
# Fixes for kernel 5.2
|
||||||
Patch132: fixes_for_5.2.patch
|
Patch132: fixes_for_5.2.patch
|
||||||
|
# Fixes for SLE15
|
||||||
|
Patch133: fixes_for_SLE15.patch
|
||||||
#endif
|
#endif
|
||||||
Patch999: virtualbox-fix-ui-background-color.patch
|
Patch999: virtualbox-fix-ui-background-color.patch
|
||||||
#
|
#
|
||||||
@ -450,6 +452,8 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
|||||||
# Tumbleweed, Leap 15.1 and above drm adjustments
|
# Tumbleweed, Leap 15.1 and above drm adjustments
|
||||||
%if 0%{?suse_version} > 1500 || (0%{?sle_version} >= 150100 && 0%{?is_opensuse})
|
%if 0%{?suse_version} > 1500 || (0%{?sle_version} >= 150100 && 0%{?is_opensuse})
|
||||||
%patch129 -p1
|
%patch129 -p1
|
||||||
|
%else
|
||||||
|
%patch133 -p1
|
||||||
%endif
|
%endif
|
||||||
# Leap 42.3 adjustments
|
# Leap 42.3 adjustments
|
||||||
%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
|
%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
|
||||||
|
Loading…
Reference in New Issue
Block a user