summaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorjoerg <joerg>2014-05-27 09:56:33 +0000
committerjoerg <joerg>2014-05-27 09:56:33 +0000
commit9ebe1de14b8a66b24592a45ae8df4cb29e8ccdee (patch)
tree73559fa162f8393189afb9ccd66f146e640e21d5 /devel/binutils
parent6771b97dc4bc422e5c0cfa75cdfb7f4159a938e1 (diff)
downloadpkgsrc-9ebe1de14b8a66b24592a45ae8df4cb29e8ccdee.tar.gz
Add forgotten patch for libc++ build.
Diffstat (limited to 'devel/binutils')
-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>