virtualbox-bin from AUR is already patched with a fix. https://aur.archlinux.org/cgit/aur.git/commit/?h=virtualbox-bin&id=83f1870f15d86179a665dc0c6b36815a385f6fbe You could try to adapt it to your virtualbox-bin-5 tarball from AUR without much editing... $ wget -q https://aur.archlinux.org/cgit/aur.git/snapshot/virtualbox-bin{,-5}.tar.gz $ tar xf virtualbox-bin.tar.gz; tar xf virtualbox-bin-5.tar.gz $ diff -r virtualbox-bin virtualbox-bin-5 [snip] ...perhaps you have good luck. Sometimes patches apply with an offset and work out of the box.