summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2019-03-23 18:48:21 +0100
committerFabio Rossi <rossi.f@inwind.it>2019-03-23 18:48:21 +0100
commite3d5fb6635dbafe0fa65ec9c5902f7f5741492a1 (patch)
tree0e4ce754dc854a29ead7c90daab505171c9dbc3e /app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
parentapp-emulation/vmware-modules: use M= instead of SUBDIRS= (diff)
downloadvmware-e3d5fb6635dbafe0fa65ec9c5902f7f5741492a1.tar.gz
vmware-e3d5fb6635dbafe0fa65ec9c5902f7f5741492a1.tar.bz2
vmware-e3d5fb6635dbafe0fa65ec9c5902f7f5741492a1.zip
app-emulation/vmware-modules: add support to kernel 5.0
this closes bug #679734 and issue #45 on github
Diffstat (limited to 'app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild')
-rw-r--r--app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
index f4ce04a..ccb687a 100644
--- a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
+++ b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
@@ -121,6 +121,9 @@ src_prepare() {
kernel_is ge 4 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.15-00-init_timer.patch"
kernel_is ge 4 16 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.16-00-vmblock-iversion.patch"
kernel_is ge 4 17 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.17-00-vsock-getname.patch"
+ kernel_is ge 5 00 0 && epatch "${FILESDIR}/${PV_MAJOR}-5.00-00-totalram_pages.patch"
+ kernel_is ge 5 00 0 && epatch "${FILESDIR}/${PV_MAJOR}-5.00-01-access_ok.patch"
+ kernel_is ge 5 00 0 && epatch "${FILESDIR}/${PV_MAJOR}-5.00-02-do_gettimeofday.patch"
# Allow user patches so they can support RC kernels and whatever else
epatch_user