From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 12 01:30:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DFFD1065675 for ; Thu, 12 Jun 2008 01:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 24EB68FC0C for ; Thu, 12 Jun 2008 01:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5C1U2dP042331 for ; Thu, 12 Jun 2008 01:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5C1U2rV042330; Thu, 12 Jun 2008 01:30:02 GMT (envelope-from gnats) Resent-Date: Thu, 12 Jun 2008 01:30:02 GMT Resent-Message-Id: <200806120130.m5C1U2rV042330@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Geraud CONTINSOUZAS Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EADE0106566B for ; Thu, 12 Jun 2008 01:22:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D38D48FC0C for ; Thu, 12 Jun 2008 01:22:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5C1Mr3t062725 for ; Thu, 12 Jun 2008 01:22:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5C1Mr1G062697; Thu, 12 Jun 2008 01:22:53 GMT (envelope-from nobody) Message-Id: <200806120122.m5C1Mr1G062697@www.freebsd.org> Date: Thu, 12 Jun 2008 01:22:53 GMT From: Geraud CONTINSOUZAS To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/124497: [PATCH] x11/nvidia-driver : Fix build when WITH_FREEBSD_AGP is set X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 01:30:02 -0000 >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: