[arch-commits] Commit in virtualbox/trunk (PKGBUILD linux-3.8.patch)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Wed Feb 20 12:57:12 UTC 2013
Date: Wednesday, February 20, 2013 @ 13:57:11
Author: foutrelis
Revision: 84602
Add patch for upcoming Linux 3.8.
Added:
virtualbox/trunk/linux-3.8.patch
Modified:
virtualbox/trunk/PKGBUILD
-----------------+
PKGBUILD | 6 ++++--
linux-3.8.patch | 17 +++++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-20 12:17:25 UTC (rev 84601)
+++ PKGBUILD 2013-02-20 12:57:11 UTC (rev 84602)
@@ -51,7 +51,8 @@
'vboxservice.service'
'vboxweb.service'
'001-vboxdrv-reference.patch'
- '002-change_default_driver_dir.patch')
+ '002-change_default_driver_dir.patch'
+ 'linux-3.8.patch')
md5sums=('d680aeb3b4379b8281527aeb012b2df5'
'5cdffabb7ffacfd49dcc93d747ede762'
'5f85710e0b8606de967716ded7b2d351'
@@ -60,7 +61,8 @@
'07c5f6d86c4b7839d719c8ee0c53653b'
'bc9efed88e0469cd7fc460d5a5cd7b4b'
'6dbd16b9d1530fc42ff6904cd80be91d'
- '97e193f050574dd272a38e5ee5ebe62b')
+ '97e193f050574dd272a38e5ee5ebe62b'
+ 'de327c6c5cec4e5414af75585c2600af')
build() {
cd "VirtualBox-$pkgver"
Added: linux-3.8.patch
===================================================================
--- linux-3.8.patch (rev 0)
+++ linux-3.8.patch 2013-02-20 12:57:11 UTC (rev 84602)
@@ -0,0 +1,17 @@
+Index: src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
+===================================================================
+--- a/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c (revision 44316)
++++ b/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c (revision 44317)
+@@ -196,7 +196,11 @@
+
+
+ /** PCI hotplug structure. */
+-static const struct pci_device_id __devinitdata g_VBoxGuestPciId[] =
++static const struct pci_device_id
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0)
++__devinitdata
++#endif
++g_VBoxGuestPciId[] =
+ {
+ {
+ vendor: VMMDEV_VENDORID,
More information about the arch-commits
mailing list