gcc10.patch 852 B

123456789101112131415161718192021222324
  1. From 017e6c6ab95df55f34e339d2139def83e5dada1f Mon Sep 17 00:00:00 2001
  2. From: Steve Grubb <sgrubb@redhat.com>
  3. Date: Fri, 10 Jan 2020 21:13:50 -0500
  4. Subject: [PATCH] Header definitions need to be external when building with
  5. -fno-common (which is default in GCC 10) - Tony Jones
  6. ---
  7. src/ausearch-common.h | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/src/ausearch-common.h b/src/ausearch-common.h
  10. index 6669203..3040547 100644
  11. --- a/src/ausearch-common.h
  12. +++ b/src/ausearch-common.h
  13. @@ -50,7 +50,7 @@ extern pid_t event_pid;
  14. extern int event_exact_match;
  15. extern uid_t event_uid, event_euid, event_loginuid;
  16. extern const char *event_tuid, *event_teuid, *event_tauid;
  17. -slist *event_node_list;
  18. +extern slist *event_node_list;
  19. extern const char *event_comm;
  20. extern const char *event_filename;
  21. extern const char *event_hostname;