Created attachment 397306 [details, diff] patch for Linux 4.0.0-rc1 virtualbox-modules 4.3.20 ( as well as 4.3.22 which is not in the tree, yet) does not compile with the recent Linux kernel 4.0.0-rc1 since two symbols have been redefined. The attached patch solves this. The ebuild has to include src_prepare() { .... if kernel_is -ge 4 0 0 ; then epatch "${FILESDIR}"/${P}-linux4.patch fi }
I can confirm. the attached patch works. I did not include it in my ebuild. I patched it per hand. rm -r /var/tmp/portage/* ebuild /usr/portage/app-emulation/virtualbox-modules/virtualbox-modules-4.3.20.ebuild unpack cd /var/tmp/portage/app-emulation/virtualbox-modules-4.3.20/work/ patch -p0 </home/joerg/Downloads/virtualbox-modules-4.3.20-linux4.patch cd ebuild /usr/portage/app-emulation/virtualbox-modules/virtualbox-modules-4.3.20.ebuild merge Merged fine. Is this patch known upstream?
(In reply to jospezial from comment #1) > Is this patch known upstream? Upstream bug [1] was fixed in VirtualBox 4.3.24[2]. [1] https://www.virtualbox.org/ticket/13835 [2] https://www.virtualbox.org/wiki/Changelog
=app-emulation/virtualbox-modules-4.3.24 is in the tree now.