On Mon, Feb 9, 2009 at 12:08 AM, Garrett Cooper <yanef...@gmail.com> wrote:
>
>    I updated nvidia-driver to the latest version, and submitted a
> patch, but ran into issues with graphics/mesa-demos (until recently
> when someone fixed the build CFLAGS -- rnoland?).

patch your Makefile patch  to allow build on -current

@@ -87,6 +87,10 @@
        ${REINPLACE_CMD} -e \
                's/suser(CURTHREAD)/priv_check(CURTHREAD, PRIV_DRIVER)/' \
                        ${WRKSRC}/src/nvidia_os.c
+       ${REINPLACE_CMD} -e \
+               's/minor(/dev2unit(/g' \
+                       ${WRKSRC}/src/nvidia_dev.c \
+                       ${WRKSRC}/src/nvidia_subr.c

worked for me

>    It's MUCH better than the current ports version. They fixed a
> driver regression, so my displays no longer seize up with high CPU
> usage while compiling and no longer freeze after playing movies with
> mplayer.
Looks like you're right, but I need more testing time.

Regards

-- 
Diego Depaoli

P.S. Could be my problems were caused by a broken card since yesterday it died.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to