2021-10-11 19:22:58 +00:00
|
|
|
diff -ruN ./util/crossgcc/patches.orig/binutils-2.32_gold-errors-include-strings.patch ./util/crossgcc/patches/binutils-2.32_gold-errors-include-strings.patch
|
|
|
|
--- ./util/crossgcc/patches.orig/binutils-2.32_gold-errors-include-strings.patch 1969-12-31 19:00:00.000000000 -0500
|
|
|
|
+++ ./util/crossgcc/patches/binutils-2.32_gold-errors-include-strings.patch 2021-10-12 13:53:14.158000000 -0400
|
|
|
|
@@ -0,0 +1,11 @@
|
|
|
|
+--- binutils-2.32/gold/errors.h.orig 2021-10-12 13:47:36.647000000 -0400
|
|
|
|
++++ binutils-2.32/gold/errors.h 2021-10-12 13:42:38.712000000 -0400
|
|
|
|
+@@ -25,6 +25,7 @@
|
|
|
|
+ #include <cstdarg>
|
2022-12-14 17:05:10 +00:00
|
|
|
+
|
2021-10-11 19:22:58 +00:00
|
|
|
+ #include "gold-threads.h"
|
|
|
|
++#include <string>
|
2022-12-14 17:05:10 +00:00
|
|
|
+
|
2021-10-11 19:22:58 +00:00
|
|
|
+ namespace gold
|
|
|
|
+ {
|
|
|
|
+
|