ports/170982: fix for building devel/binutils with clang
Brooks Davis
brooks at FreeBSD.org
Fri Aug 24 09:50:02 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list