summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2017-05-24 01:10:54 +0200
committerFabio Rossi <rossi.f@inwind.it>2017-05-24 01:10:54 +0200
commit9a41d0c3db28fb44493720e49e81384943611b0d (patch)
tree67f0808a279d753dfce72873d3bf5ed232315caa /app-emulation/vmware-modules/vmware-modules-304.4-r1.ebuild
parentapp-emulation/vmware-modules: add support to kernel 4.11 (diff)
downloadvmware-9a41d0c3db28fb44493720e49e81384943611b0d.tar.gz
vmware-9a41d0c3db28fb44493720e49e81384943611b0d.tar.bz2
vmware-9a41d0c3db28fb44493720e49e81384943611b0d.zip
Fix support to kernel 4.9 and add 4.10 and 4.11 for old =vmware-modules-304
Diffstat (limited to 'app-emulation/vmware-modules/vmware-modules-304.4-r1.ebuild')
-rw-r--r--app-emulation/vmware-modules/vmware-modules-304.4-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-emulation/vmware-modules/vmware-modules-304.4-r1.ebuild b/app-emulation/vmware-modules/vmware-modules-304.4-r1.ebuild
index d50aedc..8bf050e 100644
--- a/app-emulation/vmware-modules/vmware-modules-304.4-r1.ebuild
+++ b/app-emulation/vmware-modules/vmware-modules-304.4-r1.ebuild
@@ -107,7 +107,13 @@ src_prepare() {
kernel_is ge 4 8 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.8-00-nr_anon_mapped.patch"
kernel_is ge 4 9 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.9-00-get_user_pages.patch"
kernel_is ge 4 9 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.9-01-get_user_pages.patch"
-
+ kernel_is ge 4 9 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.9-02-get_user_pages.patch"
+ kernel_is ge 4 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.10-00-generic_readlink.patch"
+ kernel_is ge 4 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.11-00-missing-headers-p1.patch"
+ kernel_is ge 4 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.11-00-missing-headers-p2.patch"
+ kernel_is ge 4 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.11-01-vsock-lockdep.patch"
+ kernel_is ge 4 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.11-02-vmmon.patch"
+
# Allow user patches so they can support RC kernels and whatever else
epatch_user
}