diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2020-07-14 16:36:10 -0500 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-08-31 13:38:12 +0100 |
commit | 73912b850b7dc111ff54cd2bf5567a39000c6e8c (patch) | |
tree | 1e95b619da3f26f0c688c258e879c2515b8d3e65 /package/utils/audit/patches/0002-fix-gcc-10.patch | |
parent | 2f0d672088c39914ab9cd59b9de3d6f705cd6d5d (diff) | |
download | upstream-73912b850b7dc111ff54cd2bf5567a39000c6e8c.tar.gz upstream-73912b850b7dc111ff54cd2bf5567a39000c6e8c.tar.bz2 upstream-73912b850b7dc111ff54cd2bf5567a39000c6e8c.zip |
audit: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[fix build with GCC 10 and disable MIPS16 as build emits sync instruction]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Diffstat (limited to 'package/utils/audit/patches/0002-fix-gcc-10.patch')
-rw-r--r-- | package/utils/audit/patches/0002-fix-gcc-10.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/utils/audit/patches/0002-fix-gcc-10.patch b/package/utils/audit/patches/0002-fix-gcc-10.patch new file mode 100644 index 0000000000..5986cf0e42 --- /dev/null +++ b/package/utils/audit/patches/0002-fix-gcc-10.patch @@ -0,0 +1,26 @@ +From 017e6c6ab95df55f34e339d2139def83e5dada1f Mon Sep 17 00:00:00 2001 +From: Steve Grubb <sgrubb@redhat.com> +Date: Fri, 10 Jan 2020 21:13:50 -0500 +Subject: [PATCH 01/30] Header definitions need to be external when building + with -fno-common (which is default in GCC 10) - Tony Jones + +--- + src/ausearch-common.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ausearch-common.h b/src/ausearch-common.h +index 6669203..3040547 100644 +--- a/src/ausearch-common.h ++++ b/src/ausearch-common.h +@@ -50,7 +50,7 @@ extern pid_t event_pid; + extern int event_exact_match; + extern uid_t event_uid, event_euid, event_loginuid; + extern const char *event_tuid, *event_teuid, *event_tauid; +-slist *event_node_list; ++extern slist *event_node_list; + extern const char *event_comm; + extern const char *event_filename; + extern const char *event_hostname; +-- +2.26.2 + |