From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 24 09:50:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E29941065674 for ; Fri, 24 Aug 2012 09:50:01 +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 9C1218FC12 for ; Fri, 24 Aug 2012 09:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7O9o1RH084250 for ; Fri, 24 Aug 2012 09:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7O9o1rF084248; Fri, 24 Aug 2012 09:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 24 Aug 2012 09:50:01 GMT Resent-Message-Id: <201208240950.q7O9o1rF084248@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, Brooks Davis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1505D106566C for ; Fri, 24 Aug 2012 09:48:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 00DA18FC08 for ; Fri, 24 Aug 2012 09:48:30 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7O9mTmX027924 for ; Fri, 24 Aug 2012 09:48:29 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7O9mTLB027923; Fri, 24 Aug 2012 09:48:29 GMT (envelope-from nobody) Message-Id: <201208240948.q7O9mTLB027923@red.freebsd.org> Date: Fri, 24 Aug 2012 09:48:29 GMT From: Brooks Davis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170982: fix for building devel/binutils with clang 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: Fri, 24 Aug 2012 09:50:02 -0000 >Number: 170982 >Category: ports >Synopsis: fix for building devel/binutils with clang >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: Fri Aug 24 09:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Brooks Davis >Release: >Organization: >Environment: >Description: devel/binutils doesn't build with clang. The following patch fixes it (originally from theraven@, reproduced from memory). + +} // End namespace gold. >How-To-Repeat: >Fix: Patch attached with submission follows: $FreeBSD$ --- gold/script.cc.orig +++ gold/script.cc @@ -2534,7 +2534,6 @@ fprintf(f, " }\n"); } -} // End namespace gold. // The remaining functions are extern "C", so it's clearer to not put // them in namespace gold. @@ -3391,3 +3390,5 @@ return length; } + +} // End namespace gold. >Release-Note: >Audit-Trail: >Unformatted: