aboutsummaryrefslogtreecommitdiff
path: root/packages/binutils/2.43.1/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/binutils/2.43.1/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch')
-rw-r--r--packages/binutils/2.43.1/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/binutils/2.43.1/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch b/packages/binutils/2.43.1/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
new file mode 100644
index 00000000..66635987
--- /dev/null
+++ b/packages/binutils/2.43.1/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
@@ -0,0 +1,20 @@
+From 3ca444220a6ef0f39dc975202b351dc8e7bc988c Mon Sep 17 00:00:00 2001
+From: Chris Packham <judge.packham@gmail.com>
+Date: Mon, 8 Aug 2022 20:37:47 +1200
+Subject: [PATCH 4/8] Darwin gold binary cc include string not cstring
+
+---
+ gold/binary.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- 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"