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

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 4b4b2bdc2cedb3e219c6f90809e5684441b1dafa 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 1/1] 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.40.1