summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-04-30 22:57:21 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-04-30 22:57:21 +0300
commit4130c9a970b65c23cf44abd02eef870c9f2f18c8 (patch)
tree6222b6520a81170fa16ce1be5d71b64967c42e78 /x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild
parent9434e781b51743e0449142832c8e6a8054ed9008 (diff)
[x11-drivers/ati-drivers] thanks mudler for the >=4.0 kernel patch
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild b/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild
index 168b39e8..b351099a 100644
--- a/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild
@@ -167,6 +167,11 @@ src_prepare() {
# Linux 3.19 support
epatch "${FILESDIR}/${P}-linux-3.19.patch"
+ # Linux 4.0 support
+ if kernel_is ge 4 0; then
+ epatch "${FILESDIR}/${PN}-linux-4.0.patch"
+ fi
+
cd "${MODULE_DIR}"
# bugged fglrx build system, this file should be copied by hand
cp ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a 2.6.x