Date: Monday, February 27, 2017 @ 07:53:54 Author: eworm Revision: 213972
upgpkg: virtualbox 5.1.14-3 build fix for linux 4.10 Added: virtualbox/trunk/009-linux-4-10.patch Modified: virtualbox/trunk/PKGBUILD ----------------------+ 009-linux-4-10.patch | 24 ++++++++++++++++++++++++ PKGBUILD | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) Added: 009-linux-4-10.patch =================================================================== --- 009-linux-4-10.patch (rev 0) +++ 009-linux-4-10.patch 2017-02-27 07:53:54 UTC (rev 213972) @@ -0,0 +1,24 @@ +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(+) + +diff --git a/src/VBox/Additions/linux/sharedfolders/lnkops.c b/src/VBox/Additions/linux/sharedfolders/lnkops.c +index 66ddecd..e43b84c 100644 +--- a/src/VBox/Additions/linux/sharedfolders/lnkops.c ++++ b/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) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-02-27 07:49:53 UTC (rev 213971) +++ PKGBUILD 2017-02-27 07:53:54 UTC (rev 213972) @@ -11,7 +11,7 @@ 'virtualbox-guest-utils-nox' 'virtualbox-ext-vnc') pkgver=5.1.14 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL' 'custom') @@ -70,6 +70,7 @@ '006-rdesktop-vrdp-keymap-path.patch' '007-python2-path.patch' '008-no-vboxvideo.patch' + '009-linux-4-10.patch' ) md5sums=('21eaec9f21477d555559a63761779880' 'a19774e8c56f2c4d12c528992525c444' @@ -89,6 +90,7 @@ 'd82a6f19be739341ed7f1cf4ee8070ca' '188ea65918309f737ce28216c2b07c3b' '62242fc0474646e8039afae356df2593' + '22ac21e608eed91463309edf47be4982' ) prepare() {
