Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-09-16 10:59:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and      /work/SRC/openSUSE:Factory/.virtualbox.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virtualbox"

Changes:
--------
--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes    2016-09-05 
21:17:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes       
2016-09-16 10:59:13.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep  9 19:24:51 UTC 2016 - larry.fin...@lwfinger.net
+
+- Add file "fix_removal_of_DEFINE_PCI_DEVICE_TABLE" to compile on kernel 4.8.
+
+-------------------------------------------------------------------

New:
----
  fix_removal_of_DEFINE_PCI_DEVICE_TABLE

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virtualbox.spec ++++++
--- /var/tmp/diff_new_pack.00lTMh/_old  2016-09-16 10:59:16.000000000 +0200
+++ /var/tmp/diff_new_pack.00lTMh/_new  2016-09-16 10:59:16.000000000 +0200
@@ -86,6 +86,8 @@
 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 @@
 %patch109 -p1
 %patch111 -p1
 %patch112 -p1
+%patch113 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf


++++++ fix_removal_of_DEFINE_PCI_DEVICE_TABLE ++++++
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},


Reply via email to