diff options
-rw-r--r-- | recipes-security/audit/audit/0001-Header-definitions-need-to-be-external-when-building.patch | 28 | ||||
-rw-r--r-- | recipes-security/audit/audit_2.8.5.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/recipes-security/audit/audit/0001-Header-definitions-need-to-be-external-when-building.patch b/recipes-security/audit/audit/0001-Header-definitions-need-to-be-external-when-building.patch new file mode 100644 index 0000000..65ea478 --- /dev/null +++ b/recipes-security/audit/audit/0001-Header-definitions-need-to-be-external-when-building.patch | |||
@@ -0,0 +1,28 @@ | |||
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 | Upstream-Status: Backport | ||
8 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | ||
9 | --- | ||
10 | src/ausearch-common.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/ausearch-common.h b/src/ausearch-common.h | ||
14 | index 6669203664ec..3040547afe95 100644 | ||
15 | --- a/src/ausearch-common.h | ||
16 | +++ b/src/ausearch-common.h | ||
17 | @@ -50,7 +50,7 @@ extern pid_t event_pid; | ||
18 | extern int event_exact_match; | ||
19 | extern uid_t event_uid, event_euid, event_loginuid; | ||
20 | extern const char *event_tuid, *event_teuid, *event_tauid; | ||
21 | -slist *event_node_list; | ||
22 | +extern slist *event_node_list; | ||
23 | extern const char *event_comm; | ||
24 | extern const char *event_filename; | ||
25 | extern const char *event_hostname; | ||
26 | -- | ||
27 | 2.17.1 | ||
28 | |||
diff --git a/recipes-security/audit/audit_2.8.5.bb b/recipes-security/audit/audit_2.8.5.bb index af36ed5..e3e5ddd 100644 --- a/recipes-security/audit/audit_2.8.5.bb +++ b/recipes-security/audit/audit_2.8.5.bb | |||
@@ -11,6 +11,7 @@ SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=2.8_maintena | |||
11 | file://Add-substitue-functions-for-strndupa-rawmemchr.patch \ | 11 | file://Add-substitue-functions-for-strndupa-rawmemchr.patch \ |
12 | file://Fixed-swig-host-contamination-issue.patch \ | 12 | file://Fixed-swig-host-contamination-issue.patch \ |
13 | file://0001-lib-i386_table.h-add-new-syscall.patch \ | 13 | file://0001-lib-i386_table.h-add-new-syscall.patch \ |
14 | file://0001-Header-definitions-need-to-be-external-when-building.patch \ | ||
14 | file://auditd \ | 15 | file://auditd \ |
15 | file://auditd.service \ | 16 | file://auditd.service \ |
16 | file://audit-volatile.conf \ | 17 | file://audit-volatile.conf \ |