Created attachment 572292 [details] updated ebuild to include kernel >= 5 patch Add patch for kernel >= 5 that integrates DRM API changes. There are two different repositories including patches with these changes: http://github.com/pld-linux/xorg-driver-video-nvidia-legacy-340xx http://github.com/rpmfusion/nvidia-340xx-kmod
https://github.com/rpmfusion/nvidia-340xx-kmod/blob/master/buildfix_kernel_5.0.patch https://github.com/pld-linux/xorg-driver-video-nvidia-legacy-340xx/blob/master/kernel-5.0.patch Copy one of it into files subdir and rename it to kernel-5.0.patch or change the ebuild name.
*** This bug has been marked as a duplicate of bug 602844 ***