summaryrefslogtreecommitdiff
path: root/patches/binutils/2.25/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-23 01:35:28 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-23 01:35:28 (GMT)
commit49cdcd16f24ee387e5816812c7b6612f58e1d465 (patch)
tree63c7c4994fe943672005314fab7a12c5d866ef3f /patches/binutils/2.25/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
parentead1358ae5da44222d1cab6f919db59c33dd7431 (diff)
parentb0743fdcda5e203c5b379d6b78a8adb74c4084ff (diff)
Merge pull request #283 from diorcety-ctng/osx-build-2
Fixes binutils and gold (raspi2 sample builds ok if you disable the static toolchain options)
Diffstat (limited to 'patches/binutils/2.25/340-Darwin-gold-binary-cc-include-string-not-cstring.patch')
-rw-r--r--patches/binutils/2.25/340-Darwin-gold-binary-cc-include-string-not-cstring.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/binutils/2.25/340-Darwin-gold-binary-cc-include-string-not-cstring.patch b/patches/binutils/2.25/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
new file mode 100644
index 0000000..33441cc
--- /dev/null
+++ b/patches/binutils/2.25/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
@@ -0,0 +1,11 @@
+--- binutils-2.25.orig/gold/binary.cc 2015-06-09 10:48:32.000000000 +0100
++++ binutils-2.25/gold/binary.cc 2015-06-09 10:49:23.000000000 +0100
+@@ -23,7 +23,7 @@
+ #include "gold.h"
+
+ #include <cerrno>
+-#include <cstring>
++#include <string>
+ #include "safe-ctype.h"
+
+ #include "elfcpp.h"