November elején írtuk, megjalant a FreeBSD 4.7-hez az nVIDIA első bináris drivere. Viszont itt a küszöbön a FreeBSD 5.0, már meg is jelent a Developer Preview 2 (DP2), és ez alatt is jó lenne kipróbálni az nVIDIA driverét. Sajnos hivatalos támogatás csak a -STABLE kiadásokhoz van. Hát akkor mi a megoldás?
Cliff L. Biffle [cbiffle@safety.net] készített egy foltot a hivatalos driverhez. A folt nem egy nagy szám, sokat nem kellett dolgoznia vele:From: "Cliff L. Biffle"
To: freebsd-current@freebsd.org
Subject: NVidia binary driver on 5.0-DP2
Date: Thu, 5 Dec 2002 13:20:37 -0700
Hey, for the curious...
We've gotten NVidia's binary drivers for the GeForce cards up and running on 5.0-DP2. Once five or so lines in nv-freebsd.h that disabled support on 5.0 were removed...it works beautifully. :-)
Patch follows. This is Chris Lee's work, not mine, but he's not on the list, since he's still having trouble admitting to running anything other than Gentoo. :-) (Yes, 5.0-DP2 is bringing in converts from the cold left and right here in Tempe!)
-Cliff L. Biffle
--- src/nv-freebsd.h Wed Oct 30 07:30:58 2002
+++ src/nv-freebsd.h Thu Dec 5 05:09:33 2002
@@ -27,12 +27,6 @@
* active development and also unsupported.
*/
-#if __FreeBSD_version >= 500000
-#error This driver does not support FreeBSD 5.0/-CURRENT!
-#elif __FreeBSD_version
-#error This driver requires FreeBSD 4.7 or later!
-#endif
-
#include
#include
#include