summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-drivers/ati-drivers-13.12.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-13.12.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-13.12.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-13.12.ebuild b/x11-drivers/ati-drivers/ati-drivers-13.12.ebuild
index 5af335c3..b6e549f9 100644
--- a/x11-drivers/ati-drivers/ati-drivers-13.12.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-13.12.ebuild
@@ -156,6 +156,11 @@ src_prepare() {
# Linux 3.13 support
epatch "${FILESDIR}/buildfix_kernel_3.13.patch"
+ # Linux 4.0 support
+ if kernel_is ge 4 0; then
+ epatch "${FILESDIR}/${PN}-linux-4.0.patch"
+ fi
+
# Compile fix, https://bugs.gentoo.org/show_bug.cgi?id=454870
use pax_kernel && epatch "${FILESDIR}/const-notifier-block.patch"