forked from pool/virtualbox
Accepting request 426637 from Virtualization
1 OBS-URL: https://build.opensuse.org/request/show/426637 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=120
This commit is contained in:
commit
4197ea7df0
14
fix_removal_of_DEFINE_PCI_DEVICE_TABLE
Normal file
14
fix_removal_of_DEFINE_PCI_DEVICE_TABLE
Normal file
@ -0,0 +1,14 @@
|
||||
Index: VirtualBox-5.1.4/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||
===================================================================
|
||||
--- VirtualBox-5.1.4.orig/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||
+++ VirtualBox-5.1.4/src/VBox/Additions/linux/drm/vbox_drv.c
|
||||
@@ -64,8 +64,7 @@ MODULE_PARM_DESC(modeset, "Disable/Enabl
|
||||
module_param_named(modeset, vbox_modeset, int, 0400);
|
||||
|
||||
static struct drm_driver driver;
|
||||
-
|
||||
-static DEFINE_PCI_DEVICE_TABLE(pciidlist) =
|
||||
+static const struct pci_device_id pciidlist[] =
|
||||
{
|
||||
{0x80ee, 0xbeef, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||
{0, 0, 0},
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 9 19:24:51 UTC 2016 - Larry.Finger@lwfinger.net
|
||||
|
||||
- Add file "fix_removal_of_DEFINE_PCI_DEVICE_TABLE" to compile on kernel 4.8.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 20:26:22 UTC 2016 - wbauer@tmo.at
|
||||
|
||||
|
@ -86,6 +86,8 @@ Patch109: vbox-usb-warning.diff
|
||||
Patch111: vbox_prevent_wrong_SONAME.patch
|
||||
# Fix change in kernel API for ttm_bo_move_memcpy()
|
||||
Patch112: modify_for_4_8_bo_move.patch
|
||||
# Fix source for removal of DEFINE_PCI_DEVICE_TABLE macro
|
||||
Patch113: fix_removal_of_DEFINE_PCI_DEVICE_TABLE
|
||||
#
|
||||
BuildRequires: LibVNCServer-devel
|
||||
BuildRequires: SDL-devel
|
||||
@ -319,6 +321,7 @@ This package contains icons for guest desktop files that were created on the des
|
||||
%patch109 -p1
|
||||
%patch111 -p1
|
||||
%patch112 -p1
|
||||
%patch113 -p1
|
||||
|
||||
#copy user manual
|
||||
cp %{SOURCE1} UserManual.pdf
|
||||
|
Loading…
Reference in New Issue
Block a user