ports/124497: [PATCH] x11/nvidia-driver : Fix build when WITH_FREEBSD_AGP is set
Geraud CONTINSOUZAS
geraud at gcu.info
Thu Jun 12 01:30:02 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list