From 769bcd16cf8a67333f90e145798d8b509c664918 Mon Sep 17 00:00:00 2001 From: Fabio Rossi Date: Sat, 2 May 2020 23:31:14 +0200 Subject: 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 --- app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad