summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2020-05-02 23:31:14 +0200
committerFabio Rossi <rossi.f@inwind.it>2020-05-02 23:31:14 +0200
commit769bcd16cf8a67333f90e145798d8b509c664918 (patch)
tree8b00ea4e6096b0be33dc7c7468296328f88fc937
parentThe virtual/jpeg:62 is not anymore in portage, fix it (diff)
downloadvmware-769bcd16cf8a67333f90e145798d8b509c664918.tar.gz
vmware-769bcd16cf8a67333f90e145798d8b509c664918.tar.bz2
vmware-769bcd16cf8a67333f90e145798d8b509c664918.zip
app-emulation/vmware-modules: fix check for kernel option
X86_IOPL_IOPERM has been added in kernel 5.5, fixes issue #51 on github Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r--app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild3
1 files changed, 2 insertions, 1 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 8c03ab4..c7f9df1 100644
--- a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
+++ b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
@@ -28,7 +28,8 @@ S=${WORKDIR}
pkg_setup() {
CONFIG_CHECK="~HIGH_RES_TIMERS"
- CONFIG_CHECK="${CONFIG_CHECK} X86_IOPL_IOPERM" # this is needed to avoid startup problems with vmnet-natd
+ kernel_is ge 5 5 0 &&
+ CONFIG_CHECK="${CONFIG_CHECK} X86_IOPL_IOPERM" # to avoid startup problems with vmnet-natd
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
CONFIG_CHECK="${CONFIG_CHECK} BKL"
fi