From 4130c9a970b65c23cf44abd02eef870c9f2f18c8 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Thu, 30 Apr 2015 22:57:21 +0300 Subject: [x11-drivers/ati-drivers] thanks mudler for the >=4.0 kernel patch --- x11-drivers/ati-drivers/ati-drivers-14.4.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'x11-drivers/ati-drivers/ati-drivers-14.4.ebuild') diff --git a/x11-drivers/ati-drivers/ati-drivers-14.4.ebuild b/x11-drivers/ati-drivers/ati-drivers-14.4.ebuild index 9892b7c8..afc92344 100644 --- a/x11-drivers/ati-drivers/ati-drivers-14.4.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-14.4.ebuild @@ -154,12 +154,17 @@ src_prepare() { # Fix #483400 epatch "${FILESDIR}/fgl_glxgears-do-not-include-glATI.patch" - # Sabayon 3.9 kernels are versioned 3.9.0 + # Kogaion 3.9 kernels are versioned 3.9.0 epatch "${FILESDIR}/ati-drivers-14.4-acpi.patch" # Compile fix, https://bugs.gentoo.org/show_bug.cgi?id=454870 use pax_kernel && epatch "${FILESDIR}/const-notifier-block.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 -- cgit v1.2.3