Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143433 Details for
Bug 210027
Patch for nvidia-driver.eclass to make it ready for eclass-manpages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nvidia-driver.eclass.patch
nvidia-driver.eclass.patch (text/plain), 1.48 KB, created by
mren
on 2008-02-13 17:31:12 UTC
(
hide
)
Description:
nvidia-driver.eclass.patch
Filename:
MIME Type:
Creator:
mren
Created:
2008-02-13 17:31:12 UTC
Size:
1.48 KB
patch
obsolete
>--- nvidia-driver.eclass.orig 2008-02-13 18:14:59.000000000 +0100 >+++ nvidia-driver.eclass 2008-02-13 18:25:44.000000000 +0100 >@@ -1,12 +1,16 @@ >-# 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/eclass/nvidia-driver.eclass,v 1.10 2007/12/21 20:38:44 cardoe Exp $ >+# $Header: $ > >+# @ECLASS: nvidia-driver.eclass >+# @MAINTAINER: > # > # Original Author: Doug Goldstein <cardoe@gentoo.org> >-# Purpose: Provide useful messages for nvidia-drivers based on currently >-# installed Nvidia card >-# >+# @BLURB: Provide useful messages for nvidia-drivers based on currently installed Nvidia card >+# @DESCRIPTION: >+# Provide useful messages for nvidia-drivers based on currently installed Nvidia >+# card. It inherits versionator >+ > inherit versionator > > DEPEND="sys-apps/pciutils" >@@ -24,6 +28,8 @@ > mask_96xx=">=x11-drivers/nvidia-drivers-97.0.0" > mask_71xx=">=x11-drivers/nvidia-drivers-72.0.0" > >+# @FUNCTION: nvidia-driver-get-card >+# @DESCRIPTION: > # Retrieve the PCI device ID for each Nvidia video card you have > nvidia-driver-get-card() { > local NVIDIA_CARD="$(/usr/sbin/lspci -d 10de: -n | \ >@@ -59,6 +65,9 @@ > return 1; > } > >+# @FUNCTION: nvidia-driver-check-warning >+# @DESCRIPTION: >+# Prints out a warning if the driver does not work w/ the installed video card > nvidia-driver-check-warning() { > local NVIDIA_MASK="$(nvidia-driver-get-mask)" > if [ -n "$NVIDIA_MASK" ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210027
: 143433