Patch to compile NVidia driver 7676 in FreeBSD 6.0 (x86)
Place the nv-freebsd.h.patch in your NVIDIA-FreeBSD-x86-1.0-7676 directory.
Then just run patch < nv-freebsd.h.patch inside your NVIDIA-FreeBSD-x86-1.0-7676 directory, hit make install as r00t and that's it.
The patch does the following changes:
Removes these lines:
Lines 24 thru 26
#if __FreeBSD_version > 600000
#error This driver does not support FreeBSD 6.x/-CURRENT!
#endif
Line 46:
#include <machine/bus_memio.h>
Enables ACPI power management by setting #undef to #define in line 189:
changes
#undef NV_SUPPORT_ACPI_PM
to
#define NV_SUPPORT_ACPI_PM