summaryrefslogtreecommitdiff
path: root/patches/binutils/2.28/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-04 00:37:36 (GMT)
committerAlexey Neyman <stilor@att.net>2017-03-04 00:37:36 (GMT)
commit0465c8b6f22ba02695b633cd81e8cb0d787c0122 (patch)
tree98fbd5274572efaea00508e4f14fc51aa170e8d6 /patches/binutils/2.28/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
parent0b895560198f61d28af494973bd9ca5181db9970 (diff)
Add binutils 2.28
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/binutils/2.28/340-Darwin-gold-binary-cc-include-string-not-cstring.patch')
-rw-r--r--patches/binutils/2.28/340-Darwin-gold-binary-cc-include-string-not-cstring.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/binutils/2.28/340-Darwin-gold-binary-cc-include-string-not-cstring.patch b/patches/binutils/2.28/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
new file mode 100644
index 0000000..e4f235b
--- /dev/null
+++ b/patches/binutils/2.28/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
@@ -0,0 +1,13 @@
+diff --git a/gold/binary.cc b/gold/binary.cc
+index 52df81a..03a8f20 100644
+--- a/gold/binary.cc
++++ b/gold/binary.cc
+@@ -23,7 +23,7 @@
+ #include "gold.h"
+
+ #include <cerrno>
+-#include <cstring>
++#include <string>
+
+ #include "elfcpp.h"
+ #include "stringpool.h"