Fix multiple definition of `event_node_list' (#1794446)

This commit is contained in:
Steve Grubb 2020-01-29 13:55:06 -05:00
parent bd0951aa79
commit bb170b347c
2 changed files with 26 additions and 1 deletions

22
audit-3.0-no-common.patch Normal file
View File

@ -0,0 +1,22 @@
From 3c9672de4743e34c33c2ebb6d9b46aefcec5fb44 Mon Sep 17 00:00:00 2001
From: Steve Grubb <sgrubb@redhat.com>
Date: Thu, 23 Jan 2020 17:27:20 -0500
Subject: [PATCH] fix compiler warning
---
audisp/plugins/syslog/audisp-syslog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audisp/plugins/syslog/audisp-syslog.c b/audisp/plugins/syslog/audisp-syslog.c
index 9daa021..d4fc565 100644
--- a/audisp/plugins/syslog/audisp-syslog.c
+++ b/audisp/plugins/syslog/audisp-syslog.c
@@ -207,7 +207,7 @@ static inline void write_syslog(char *s)
}
}
-int main(int argc, char *argv[])
+int main(int argc, const char *argv[])
{
char tmp[MAX_AUDIT_MESSAGE_LENGTH+1];
struct sigaction sa;

View File

@ -2,7 +2,7 @@
Summary: User space tools for kernel auditing
Name: audit
Version: 3.0
Release: 0.17.20191104git1c2f876%{?dist}
Release: 0.18.20191104git1c2f876%{?dist}
License: GPLv2+
URL: http://people.redhat.com/sgrubb/audit/
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha9.tar.gz
@ -246,6 +246,9 @@ fi
%attr(750,root,root) /sbin/audispd-zos-remote
%changelog
* Wed Jan 29 2020 Steve Grubb <sgrubb@redhat.com> 3.0-0.18.20191104git1c2f876
- Fix multiple definition of `event_node_list' (#1794446)
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-0.17.20191104git1c2f876
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild