

The unpatched, original tar files are saved with “unpatched” appended and if these already exist are moved back to their original names.

It will stop if applying a patch fails and also handles running the script multiple times.

Looks like VMware Workstation release 15.1.0 does not need these patches. The patch of hostif.c could be better but I wanted to get this published ASAP. I dug around and figured out how to patch the VMware kernel modules and it appears to work. VMware Workstation and Player won’t compile on a Linux system, e.g., Fedora 29, running the new kernel 5.0.3.
