virtualbox-ose: add patch for linux 4.10 (via Arch)

Closes #5854.
This commit is contained in:
Alessio Sergi 2017-02-28 14:42:24 +01:00
parent 9cace57bec
commit f09f52cfea
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,22 @@
From d9bd947b1fa1d7c47cd1cdb894dadfa07f51e446 Mon Sep 17 00:00:00 2001
From: vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>
Date: Tue, 24 Jan 2017 08:13:25 +0000
Subject: [PATCH] Additions/linux/sharedfolders: Linux 4.10 fix
git-svn-id: http://www.virtualbox.org/svn/vbox@65409 cfe28804-0f27-0410-a406-dd0f0b0b656f
---
trunk/src/VBox/Additions/linux/sharedfolders/lnkops.c | 2 ++
1 file changed, 2 insertions(+)
--- src/VBox/Additions/linux/sharedfolders/lnkops.c.orig
+++ src/VBox/Additions/linux/sharedfolders/lnkops.c
@@ -90,7 +90,9 @@ static const char *sf_get_link(struct dentry *dentry, struct inode *inode,
struct inode_operations sf_lnk_iops =
{
+# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0)
.readlink = generic_readlink,
+# endif
# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
.get_link = sf_get_link
# elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)

View File

@ -1,7 +1,7 @@
# Template file for 'virtualbox-ose'
pkgname=virtualbox-ose
version=5.1.14
revision=1
revision=2
wrksrc="VirtualBox-${version}"
short_desc="General-purpose full virtualizer for x86 hardware"
maintainer="Juan RP <xtraeme@voidlinux.eu>"