summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-11-14 01:29:10 +0000
committerLuca Barbato <lu_zero@gentoo.org>2005-11-14 01:29:10 +0000
commitfd227f5fb15dfd0ff152a88481f57b29c093d228 (patch)
treefb4709726416783351328df3c81be61abe964b57 /x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild
parentFix xkb issue spotted by spyderous. (diff)
downloadgentoo-2-fd227f5fb15dfd0ff152a88481f57b29c093d228.tar.gz
gentoo-2-fd227f5fb15dfd0ff152a88481f57b29c093d228.tar.bz2
gentoo-2-fd227f5fb15dfd0ff152a88481f57b29c093d228.zip
backport
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild24
1 files changed, 19 insertions, 5 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild
index f9e94e0eb65d..3b8f51f42996 100644
--- a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.14.13-r3.ebuild,v 1.1 2005/11/12 22:17:04 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild,v 1.2 2005/11/14 01:29:10 lu_zero Exp $
IUSE="opengl dlloader"
@@ -43,12 +43,21 @@ pkg_setup(){
ebegin "Checking for AGP support enabled"
linux_chkconfig_present AGP
eend $?
- if [[ $? -ne 0 ]] ; then
- ewarn "You don't have AGP support enabled, the direct rendering"
- ewarn "will not work."
+
+ if [[ $? -ne 0 ]] ; then
+
+ ebegin "Checking for PCI Express support enabled"
+ linux_chkconfig_present PCIEPORTBUS
+ eend $?
+
+ if [[ $? -ne 0 ]] ; then
+ ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering"
+ ewarn "could work only using the internal support."
+ fi
+
fi
ebegin "Checking for DRM support disabled"
- ! linux_chkconfig_present DRM
+ ! linux_chkconfig_builtin DRM
eend $?
if [[ $? -ne 0 ]] ; then
ewarn "You have DRM support enabled, the direct rendering"
@@ -77,11 +86,16 @@ src_unpack() {
epatch ${FILESDIR}/fglrx-2.6.12-pci_name.patch
epatch ${FILESDIR}/fglrx-2.6.12-inter_module_get.patch
epatch ${FILESDIR}/fglrx-8.14.13-alt-2.6.12-agp.patch
+ epatch ${FILESDIR}/fglrx-2.6.14-access_ok.patch
fi
epatch ${FILESDIR}/8.8.25-via-amd64.patch
epatch ${FILESDIR}/8.8.25-smp.patch
epatch ${FILESDIR}/ioctl32.patch
epatch ${FILESDIR}/p1.patch
+ if use amd64
+ then
+ epatch ${FILESDIR}/fglrx-2.6.14-compat_ioctl.patch
+ fi
rm -rf ${WORKDIR}/usr/X11R6/bin/fgl_glxgears
}