Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 09:48:29 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170982: fix for building devel/binutils with clang
Message-ID:  <201208240948.q7O9mTLB027923@red.freebsd.org>
Resent-Message-ID: <201208240950.q7O9o1rF084248@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208240948.q7O9mTLB027923>