diff options
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild')
-rw-r--r-- | x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild index 0db3f54ac063..8917f9b8c286 100644 --- a/x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild,v 1.3 2007/07/01 22:50:47 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild,v 1.4 2007/08/01 22:32:06 je_fro Exp $ IUSE="acpi qt3 multilib" @@ -168,6 +168,12 @@ src_unpack() { # Add a category. mv programs/fglrx_gamma/fglrx_xgamma.{man,1} || die "man mv failed" cd .. + +Add the following to fix bug #182597 + if ( kernel_is 2 6 22 ); then + cd "${S}" + epatch ${FILESDIR}/${PV}/fix-ioctl-for-2.6.22.patch || die "Failed to patch for 2.6.22 kernel." + fi } src_compile() { |