summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2008-02-04 18:24:54 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2008-02-04 18:24:54 +0000
commit54e9fe1fc624a68ccc14276c32c6f0e0e4d4652c (patch)
tree4a874bc21b28b92ac22e34dc32658dba4c302af5 /x11-drivers
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadgentoo-2-54e9fe1fc624a68ccc14276c32c6f0e0e4d4652c.tar.gz
gentoo-2-54e9fe1fc624a68ccc14276c32c6f0e0e4d4652c.tar.bz2
gentoo-2-54e9fe1fc624a68ccc14276c32c6f0e0e4d4652c.zip
Adding PCI_LEGACY check to take care of bug #208776.
(Portage version: 2.1.4.1)
Diffstat (limited to 'x11-drivers')
-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