diff options
author | Jean-Marc Lenoir | 2019-07-27 13:03:27 +0200 |
---|---|---|
committer | Jean-Marc Lenoir | 2019-07-27 13:03:27 +0200 |
commit | ecfb8ae56d100762fa9a71339b3869bc048cfda8 (patch) | |
tree | 4883408f883fb48ef4a6974cab19c622c0562142 | |
parent | 8301a140f54119b05d9cd80b24099fa58e41f4be (diff) | |
download | aur-ecfb8ae56d100762fa9a71339b3869bc048cfda8.tar.gz |
Compatibility with Linux 5.3-rc1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | vmmon.patch | 64 | ||||
-rw-r--r-- | vmnet.patch | 29 |
4 files changed, 95 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = vmware-workstation pkgdesc = The industry standard for running multiple operating systems as virtual machines on a single Linux PC. pkgver = 15.1.0 - pkgrel = 2 + pkgrel = 3 url = https://www.vmware.com/products/workstation-for-linux.html install = vmware-workstation.install arch = x86_64 @@ -83,8 +83,8 @@ pkgbase = vmware-workstation sha256sums = d7a9fbf39a0345ae2f14f7f389f30b1110f605d187e0c241e99bbb18993c250d sha256sums = 05e26d8b21d190ebabb7f693998114d9d5991d9dfb71acb4d990293a65b6b487 sha256sums = 6ce902b1dab8fc69be253abd8e79017011985eca850ff7acc7282f9ab668e35d - sha256sums = 5f64e09f1ecdb2bd57b2c7ab67092b74df4d7b116e76ea7ad464021caefcc4ad - sha256sums = c2e981d5d6a4fab4d33d4e3df394bdb597834fae14ebb535a40271c3f2677f0d + sha256sums = 88d1444b57a987bb7fb400b5dc51ac9b6b11afa8aca0c94f88a20e0f8d520299 + sha256sums = 623a575aade146b744bc7543513dc9eb0b604432ecbfd394001552c0f8b08f6f sha256sums = b228af2f5f7b5eed3a4f574645e823e92dbd95945a5dce343f51445f0cc83b1c sha256sums = 7bc24a658c0a91ea21ffda67becb9bc40f1e2592ff74020be7c174af1b81f554 sha256sums = 29e0b0db9c0296ab81eee543803c4bd430e2c69c76e33492910e17280da1c05c @@ -17,7 +17,7 @@ pkgname=vmware-workstation pkgver=15.1.0 _buildver=13591040 _pkgver=${pkgver}_${_buildver} -pkgrel=2 +pkgrel=3 pkgdesc='The industry standard for running multiple operating systems as virtual machines on a single Linux PC.' arch=(x86_64) url='https://www.vmware.com/products/workstation-for-linux.html' @@ -119,8 +119,8 @@ sha256sums=( '05e26d8b21d190ebabb7f693998114d9d5991d9dfb71acb4d990293a65b6b487' '6ce902b1dab8fc69be253abd8e79017011985eca850ff7acc7282f9ab668e35d' - '5f64e09f1ecdb2bd57b2c7ab67092b74df4d7b116e76ea7ad464021caefcc4ad' - 'c2e981d5d6a4fab4d33d4e3df394bdb597834fae14ebb535a40271c3f2677f0d' + '88d1444b57a987bb7fb400b5dc51ac9b6b11afa8aca0c94f88a20e0f8d520299' + '623a575aade146b744bc7543513dc9eb0b604432ecbfd394001552c0f8b08f6f' ) options=(!strip emptydirs) diff --git a/vmmon.patch b/vmmon.patch index 27e211e5d5ca..3de6960da712 100644 --- a/vmmon.patch +++ b/vmmon.patch @@ -1,5 +1,3 @@ -diff --git a/vmmon/Makefile b/vmmon/Makefile -index de8162e..6124a71 100644 --- a/vmmon/Makefile +++ b/vmmon/Makefile @@ -43,7 +43,11 @@ INCLUDE += -I$(SRCROOT)/shared @@ -14,6 +12,33 @@ index de8162e..6124a71 100644 # Header directory for the running kernel ifdef LINUXINCLUDE +From 8ba37a5023f939ba8d2e0d91b916ff442b1c18dd Mon Sep 17 00:00:00 2001 +From: Michal Kubecek <mkubecek@suse.cz> +Date: Mon, 31 Dec 2018 00:05:42 +0100 +Subject: [PATCH] modules: replace SUBDIRS with M + +Since commit 0126be38d988 ("kbuild: announce removal of SUBDIRS if used") +in v5.0-rc1, using SUBDIRS when building out of tree modules produces +a deprecation warning. As M used to work since pretty much ever, use it +unconditionally. +--- + vmmon-only/Makefile | 2 +- + vmnet-only/Makefile | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/vmmon-only/Makefile b/vmmon-only/Makefile +index ccdd295..b4b71fb 100644 +--- a/vmmon-only/Makefile ++++ b/vmmon-only/Makefile +@@ -111,7 +111,7 @@ prebuild:: ; + postbuild:: ; + + $(DRIVER_KO): prebuild +- $(MAKE) -C $(BUILD_DIR) SUBDIRS=$$PWD SRCROOT=$$PWD/$(SRCROOT) \ ++ $(MAKE) -C $(BUILD_DIR) M=$$PWD SRCROOT=$$PWD/$(SRCROOT) \ + MODULEBUILDDIR=$(MODULEBUILDDIR) modules + $(MAKE) -C $$PWD SRCROOT=$$PWD/$(SRCROOT) \ + MODULEBUILDDIR=$(MODULEBUILDDIR) postbuild From 41413a9b6e660a93600a438944d85b6f51eb680c Mon Sep 17 00:00:00 2001 From: Michal Kubecek <mkubecek@suse.cz> Date: Tue, 5 Mar 2019 13:21:35 +0100 @@ -111,3 +136,38 @@ index 92a3529..248a95d 100644 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) LinuxDriverFault(struct vm_fault *fault) //IN/OUT #else +From 98008ff6adec118962df8ac26f814b55c3861efb Mon Sep 17 00:00:00 2001 +From: Michal Kubecek <mkubecek@suse.cz> +Date: Tue, 9 Jul 2019 21:07:04 +0200 +Subject: [PATCH] vmmon: fix HostIF_SetFastClockRate() not to use force_sig() + +Commit 3cf5d076fb4d ("signal: Remove task parameter from force_sig") in +v5.3-rc1 drops second argument of force_sig(); before that, all callers +which passed something else than current task as second argument were +fixed, mostly to use send_sig() instead. + +The situation in HostIF_SetFastClockRate() is the same as e.g. in bpfilter +call fixed by commit 1dfd1711de29 ("signal/bpfilter: Fix bpfilter_kernl to +use send_sig not force_sig"): locking in force_sig_info() cannot handle +task exiting and using force_sig() for SIGKILL is pointless anyway as this +signal cannot be blocked. + +As send_sig() is present with unchanged signature since the pre-git era, we +can use send_sig() unconditionally, regardless of kernel version. +--- + vmmon-only/linux/hostif.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c +index 850ca02..27eb60c 100644 +--- a/vmmon-only/linux/hostif.c ++++ b/vmmon-only/linux/hostif.c +@@ -3402,7 +3402,7 @@ HostIF_SetFastClockRate(unsigned int rate) // IN: Frequency in Hz. + } + } else { + if (linuxState.fastClockThread) { +- force_sig(SIGKILL, linuxState.fastClockThread); ++ send_sig(SIGKILL, linuxState.fastClockThread, 1); + kthread_stop(linuxState.fastClockThread); + + linuxState.fastClockThread = NULL; diff --git a/vmnet.patch b/vmnet.patch index d2c620705ca3..5dd6491341ca 100644 --- a/vmnet.patch +++ b/vmnet.patch @@ -1,5 +1,3 @@ -diff --git a/vmnet/Makefile b/vmnet/Makefile -index 459846e..cd29652 100644 --- a/vmnet/Makefile +++ b/vmnet/Makefile @@ -43,7 +43,11 @@ INCLUDE += -I$(SRCROOT)/shared @@ -14,3 +12,30 @@ index 459846e..cd29652 100644 # Header directory for the running kernel ifdef LINUXINCLUDE +From 8ba37a5023f939ba8d2e0d91b916ff442b1c18dd Mon Sep 17 00:00:00 2001 +From: Michal Kubecek <mkubecek@suse.cz> +Date: Mon, 31 Dec 2018 00:05:42 +0100 +Subject: [PATCH] modules: replace SUBDIRS with M + +Since commit 0126be38d988 ("kbuild: announce removal of SUBDIRS if used") +in v5.0-rc1, using SUBDIRS when building out of tree modules produces +a deprecation warning. As M used to work since pretty much ever, use it +unconditionally. +--- + vmmon-only/Makefile | 2 +- + vmnet-only/Makefile | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/vmnet-only/Makefile b/vmnet-only/Makefile +index caab6b9..c2fc51f 100644 +--- a/vmnet-only/Makefile ++++ b/vmnet-only/Makefile +@@ -111,7 +111,7 @@ prebuild:: ; + postbuild:: ; + + $(DRIVER_KO): prebuild +- $(MAKE) -C $(BUILD_DIR) SUBDIRS=$$PWD SRCROOT=$$PWD/$(SRCROOT) \ ++ $(MAKE) -C $(BUILD_DIR) M=$$PWD SRCROOT=$$PWD/$(SRCROOT) \ + MODULEBUILDDIR=$(MODULEBUILDDIR) modules + $(MAKE) -C $$PWD SRCROOT=$$PWD/$(SRCROOT) \ + MODULEBUILDDIR=$(MODULEBUILDDIR) postbuild |