crosstool-ng/packages/binutils/2.41/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
Hans-Christian Noren Egtvedt d5694c660f binutils: Add binutils 2.41
https://sourceware.org/pipermail/binutils/2023-July/128719.html

Forward ported all patches from binutils 2.40, with only minor
adjustment to match new upstream code in patch
0007-poison-system-directories.patch.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2023-12-08 12:19:38 +13:00

21 lines
486 B
Diff

From 5437b55508908fc26e8757007206a69160c382a9 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] 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"