0001-Fix-build-failure-with-GCC10.patch 699 B

1234567891011121314151617181920212223242526
  1. From b021f9835185ed262f203f83b9e6643d6374f9be Mon Sep 17 00:00:00 2001
  2. From: Christophe Giboudeaux <christophe@krop.fr>
  3. Date: Thu, 4 Feb 2021 22:42:13 +0100
  4. Subject: [PATCH] Fix build failure with GCC10
  5. ---
  6. libexplain/output/stderr.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/libexplain/output/stderr.h b/libexplain/output/stderr.h
  9. index 5494880..7956cfc 100644
  10. --- a/libexplain/output/stderr.h
  11. +++ b/libexplain/output/stderr.h
  12. @@ -22,7 +22,7 @@
  13. #include <libexplain/output.h>
  14. -explain_output_t explain_output_static_stderr;
  15. +extern explain_output_t explain_output_static_stderr;
  16. #endif /* LIBEXPLAIN_OUTPUT_STDERR_H */
  17. /* vim: set ts=8 sw=4 et : */
  18. --
  19. 2.30.0