Date: Fri, 19 Feb 2010 02:34:40 -0800 (PST) From: Rutger van Bergen <rbergen@xs4all.nl> To: freebsd-ports-bugs@freebsd.org Subject: Re: ports/143612: ports/x11/nvidia-driver-96 fails to build in 8.0-RELEASE/9.0-CURRENT Message-ID: <27652246.post@talk.nabble.com> In-Reply-To: <27637609.post@talk.nabble.com> References: <201002061858.o16IwIna013513@www.freebsd.org> <27637609.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27652246.post>