ports/143612: ports/x11/nvidia-driver-96 fails to build in 8.0-RELEASE/9.0-CURRENT

Rutger van Bergen rbergen at xs4all.nl
Fri Feb 19 10:34:41 UTC 2010


After applying the following patch to nvidia_dev.c, I was able to build
x11/nvidia-driver-96.43.16 on my 32-bit 8.0-RELEASE-p2 system:

--- /home/rutger/nvidia_dev.c.orig      2010-02-19 11:10:20.000000000 +0100
+++ nvidia_dev.c        2010-02-19 11:22:23.000000000 +0100
@@ -131,9 +131,9 @@

 int nvidia_dev_mmap(
     struct cdev *dev,
-    vm_ooffset_t offset,
+    vm_offset_t offset,
     vm_paddr_t *address,
-    int nprot, vm_memattr_t *memattr
+    int nprot
 )
 {
     int status;


I know frighteningly little about FreeBSD development, let alone the
difference between 32 and 64 bit development, but to me it looks like the
original nvidia_dev_map declaration was targeted at 64 bit systems.
-- 
View this message in context: http://old.nabble.com/ports-143612%3A-ports-x11-nvidia-driver-96-fails-to-build-in-8.0-RELEASE-9.0-CURRENT-tp27482331p27652246.html
Sent from the freebsd-ports-bugs mailing list archive at Nabble.com.




More information about the freebsd-ports-bugs mailing list