ports/security/bsmtrace/files/patch-log.c
Kyle Evans c6372e4636 security/bsmtrace: backport the -fno-common fix
This port is the older version of bsmtrace and should go away in due time,
but it's easy enough to backport the fix in the meantime. This version did
need an additional fix to log.{c,h} that was no longer needed in 3.x.

PR:		248756
Approved by:	csjp (maintainer, also discussed with)
MFH:		2020Q3 (-fno-common build fix)
2020-08-24 00:28:44 +00:00

11 lines
252 B
C

--- log.c.orig 2020-08-23 21:49:15 UTC
+++ log.c
@@ -31,6 +31,8 @@
#include "includes.h"
#undef SYSLOG_NAMES
+struct logchannel_head log_head;
+
int
log_bsm_syslog(struct logchannel *lc, struct bsm_sequence *bs,
struct bsm_record_data *br);