summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
index 47180d7..eee7df0 100644
--- a/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
@@ -164,7 +164,13 @@ src_unpack() {
# Add a category.
mv programs/fglrx_gamma/fglrx_xgamma.{man,1} || die "man mv failed"
cd ..
+
+ # Misc. patches.
epatch ${FILESDIR}/${PV}/${P}-warnings.patch
+
+ if kernel_is ge 2 6 23; then
+ epatch ${FILESDIR}/${PV}/${PN}-2.6.23.patch
+ fi
}
src_compile() {
@@ -281,7 +287,7 @@ src_install() {
# etc.
insinto /etc/ati
# Everything except for the authatieventsd.sh script.
- doins common/etc/ati/{fglrxprofiles.csv,fglrxrc,logo*,control,atiogl.xml,signature}
+ doins common/etc/ati/{fglrxprofiles.csv,fglrxrc,logo*,control,atiogl.xml}
if use acpi; then
doins common/etc/ati/authatieventsd.sh
fi