ports/56157: [patch] x11/nvidia-driver build broken
Evan Dower
evantd at cs.washington.edu
Fri Aug 29 22:00:27 UTC 2003
>Number: 56157
>Category: ports
>Synopsis: [patch] x11/nvidia-driver build broken
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 29 15:00:23 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Evan Dower
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD lojak.washington.edu 5.1-CURRENT FreeBSD 5.1-CURRENT #0:
Fri Aug 29 05:38:24 PDT 2003
root at lojak.washington.edu:/usr/obj/usr/current/src/sys/CUSTOM i386
<machine, os, target, libraries (multiple lines)>
>Description:
Recent change to dev/pci/pcireg.h changed PCIR_HEADERTYPE to
PCIR_HDRTYPE. nvidia driver needs to know this. The included patch makes
this change, but the Makefile will need to be updated because kernels
older than Thu Aug 28 21:22:25 2003 UTC still call it PCIR_HEADERTYPE.
<precise description of the problem (multiple lines)>
>How-To-Repeat:
Build nvidia-driver on -current from after Thu Aug 28 21:22:25 2003 UTC
<code/input/activities to reproduce the problem (multiple lines)>
>Fix:
<how to correct or work around the problem, if known (multiple lines)>
--- patch-src:nvidia_sysctl.c begins here ---
--- src/nvidia_sysctl.c.orig Fri Aug 29 14:00:58 2003
+++ src/nvidia_sysctl.c Fri Aug 29 14:02:16 2003
@@ -231,7 +231,7 @@
* It also doesn't make sense to to iterate over
multiple
* functions if this isn't a multi-function device.
*/
- hdrtype =3D pci_read_config(dev, PCIR_HEADERTYPE, 1);
+ hdrtype =3D pci_read_config(dev, PCIR_HDRTYPE, 1);
=20
if ((hdrtype & PCIM_MFDEV) =3D=3D 0)
break;
--- patch-src:nvidia_sysctl.c ends here ---
--=-Pqpa/AwmvououRK1d/SY
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQA/T8yGfRVaTwM/iH0RAmtgAJ9Qwjgwz4dNCt+CINpKhcyGJQP4hACgtXu7
cZvvGfydyF+S0VLJsKDlJD8=
=Bool
-----END PGP SIGNATURE-----
--=-Pqpa/AwmvououRK1d/SY--
>Release-Note:
>Audit-Trail:
>Unformatted:
--=-Pqpa/AwmvououRK1d/SY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
More information about the freebsd-ports-bugs
mailing list