aboutsummaryrefslogtreecommitdiffstats
path: root/devel/binutils
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2012-09-02 13:07:01 +0800
committerlinimon <linimon@FreeBSD.org>2012-09-02 13:07:01 +0800
commitf69026d990865115c6d33bb1347b7a54e41fb038 (patch)
tree0b7198ad5f8e473df5ad0a8690244ce6d2cd276a /devel/binutils
parent9df1f829f8f5a697338c7030c340e8e38154a0a9 (diff)
downloadfreebsd-ports-gnome-f69026d990865115c6d33bb1347b7a54e41fb038.tar.gz
freebsd-ports-gnome-f69026d990865115c6d33bb1347b7a54e41fb038.tar.zst
freebsd-ports-gnome-f69026d990865115c6d33bb1347b7a54e41fb038.zip
Fix binutils build on clang. I'm committing this with a somewhat short
timeout as it blocks some of the work I'm doing with ports and clang; there are a large number of dependencies. PR: ports/170982 Submitted by: brooks Hat: portmgr
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/files/patch-gold_script.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/binutils/files/patch-gold_script.cc b/devel/binutils/files/patch-gold_script.cc
new file mode 100644
index 000000000000..6dc7a32c3557
--- /dev/null
+++ b/devel/binutils/files/patch-gold_script.cc
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- gold/script.cc.dist 2012-09-01 19:52:34.000000000 -0500
++++ gold/script.cc 2012-09-01 19:53:22.000000000 -0500
+@@ -2534,8 +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 +3389,5 @@
+
+ return length;
+ }
++
++} // End namespace gold.