Date: Thu, 12 Jun 2008 01:22:53 GMT From: Geraud CONTINSOUZAS <geraud@gcu.info> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124497: [PATCH] x11/nvidia-driver : Fix build when WITH_FREEBSD_AGP is set Message-ID: <200806120122.m5C1Mr1G062697@www.freebsd.org> Resent-Message-ID: <200806120130.m5C1U2rV042330@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124497 >Category: ports >Synopsis: [PATCH] x11/nvidia-driver : Fix build when WITH_FREEBSD_AGP is set >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 12 01:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Geraud CONTINSOUZAS >Release: >Organization: >Environment: FreeBSD bob.XXXXXX.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Jun 12 10:36:35 NCT 2008 root@bob.XXXXXX.net:/usr/obj/usr/src/sys/BOB02 i386 >Description: The ${WRKSRC}/src/nv-freebsd.h file was modified in the latest version of the driver with several lines added at the beginning. As a result, a ${REINPLACE_CMD} command in the Makefile is off by the amount of the aforementioned lines added. The patch provided fixes the line numbers and allow the build to complete. >How-To-Repeat: cd /usr/ports/x11/nvidia-driver && make WITH_FREEBSD_AGP=true >Fix: see attached patch. Patch attached with submission follows: --- Makefile.orig 2008-06-07 07:32:27.000000000 +1100 +++ Makefile 2008-06-12 11:43:54.000000000 +1100 @@ -88,7 +88,7 @@ .endif # Correct prototypes to fix the build with FreeBSD AGP support .if ${NVVERSION} >= 1690700 - ${REINPLACE_CMD} -e '337,338s/(/(nv_stack_t *, /' \ + ${REINPLACE_CMD} -e '406,407s/(/(nv_stack_t *, /' \ ${WRKSRC}/src/nv-freebsd.h .endif .if defined(WITH_FREEBSD_AGP) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806120122.m5C1Mr1G062697>