0005-crossgcc-patch-binutils-2.32-for-newer-hostcc.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From cc9d7de95387eb607ef78240ff0a7bf71127cb1e Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <leah@libreboot.org>
  3. Date: Sun, 9 Jul 2023 04:54:19 +0100
  4. Subject: [PATCH 05/10] crossgcc: patch binutils 2.32 for newer hostcc
  5. tested on debian sid as of 9 July 2023
  6. implicit string declaration
  7. easy peasy
  8. Signed-off-by: Leah Rowe <leah@libreboot.org>
  9. ---
  10. util/crossgcc/patches/binutils-2.32_stringfix.patch | 11 +++++++++++
  11. 1 file changed, 11 insertions(+)
  12. create mode 100644 util/crossgcc/patches/binutils-2.32_stringfix.patch
  13. diff --git a/util/crossgcc/patches/binutils-2.32_stringfix.patch b/util/crossgcc/patches/binutils-2.32_stringfix.patch
  14. new file mode 100644
  15. index 0000000000..de27a2752a
  16. --- /dev/null
  17. +++ b/util/crossgcc/patches/binutils-2.32_stringfix.patch
  18. @@ -0,0 +1,11 @@
  19. +diff -u binutils-2.32/gold/errors.h binutils-2.32.patched/gold/errors.h
  20. +--- binutils-2.32/gold/errors.h
  21. ++++ binutils-2.32.patched/gold/errors.h
  22. +@@ -24,6 +24,7 @@
  23. + #define GOLD_ERRORS_H
  24. +
  25. + #include <cstdarg>
  26. ++#include <string>
  27. +
  28. + #include "gold-threads.h"
  29. +
  30. --
  31. 2.39.2