summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2014-05-27 09:56:33 +0000
committerjoerg <joerg>2014-05-27 09:56:33 +0000
commit234435ee12d15c5cc21913e358bfa3071df6ba70 (patch)
treea35557db0523b4779ccff74d7bbc113a9b8b804a
parent1a5eb6cfaa528da390965c0f5e7ea2a8825dd329 (diff)
downloadpkgsrc-234435ee12d15c5cc21913e358bfa3071df6ba70.tar.gz
Add forgotten patch for libc++ build.
-rw-r--r--devel/binutils/patches/patch-gold_system.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/binutils/patches/patch-gold_system.h b/devel/binutils/patches/patch-gold_system.h
new file mode 100644
index 00000000000..c191e97fce5
--- /dev/null
+++ b/devel/binutils/patches/patch-gold_system.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-gold_system.h,v 1.1 2014/05/27 09:56:33 joerg Exp $
+
+--- gold/system.h.orig 2014-05-26 18:29:32.000000000 +0000
++++ gold/system.h
+@@ -105,7 +105,7 @@ struct hash<std::string>
+ {
+ size_t
+ operator()(std::string s) const
+- { return __stl_hash_string(s.c_str()); }
++ { return __gnu_cxx::hash<const char *>()(s.c_str()); }
+ };
+
+ template<typename T>