summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-drivers/ati-drivers/ChangeLog5
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/x11-drivers/ati-drivers/ChangeLog b/x11-drivers/ati-drivers/ChangeLog
index 67d8c47a8041..f6018e714dcf 100644
--- a/x11-drivers/ati-drivers/ChangeLog
+++ b/x11-drivers/ati-drivers/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-drivers/ati-drivers
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.106 2008/01/30 15:21:46 je_fro Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.107 2008/02/04 18:24:54 je_fro Exp $
+
+ 04 Feb 2008; Jeff Gardner <je_fro@gentoo.org> ati-drivers-8.40.4.ebuild:
+ Adding PCI_LEGACY check to take care of bug #208776.
30 Jan 2008; Jeff Gardner <je_fro@gentoo.org> ati-drivers-8.452.ebuild:
ebuild to die if PCI_LEGACY not present with a 2.6.24 kernel, thanks to Jory
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 022aae94314b..bc9db3227bee 100644
--- a/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.40.4.ebuild,v 1.5 2007/11/23 18:34:04 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild,v 1.6 2008/02/04 18:24:54 je_fro Exp $
IUSE="acpi multilib"
@@ -65,6 +65,11 @@ pkg_setup() {
die "Need a 2.6 kernel to compile against!"
fi
+ if kernel_is ge 2 6 24 && ! linux_chkconfig_present PCI_LEGACY; then
+ eerror "${P} requires support for pci_find_slot."
+ die "${P} requires support for pci_find_slot."
+ fi
+
if ! linux_chkconfig_present MTRR; then
ewarn "You don't have MTRR support enabled, the direct rendering will not work."
fi