Index: head/security/bsmtrace/files/patch-bsmtrace.c =================================================================== --- head/security/bsmtrace/files/patch-bsmtrace.c (revision 546028) +++ head/security/bsmtrace/files/patch-bsmtrace.c (revision 546029) @@ -1,11 +1,19 @@ --- bsmtrace.c.orig 2014-01-14 22:51:19 UTC +++ bsmtrace.c +@@ -30,6 +30,7 @@ + #include "includes.h" + + static int daemonized; /* daemonized or not? */ ++int audit_pipe_fd; + + /* + * If we are going to be daemonized, write out a pid file to @@ -92,7 +92,7 @@ bsmtrace_exit(int x) } void -dprintf(char *fmt, ...) +d_printf(char *fmt, ...) { char buf[1024]; va_list ap; Index: head/security/bsmtrace/files/patch-bsmtrace.h =================================================================== --- head/security/bsmtrace/files/patch-bsmtrace.h (revision 546028) +++ head/security/bsmtrace/files/patch-bsmtrace.h (revision 546029) @@ -1,10 +1,17 @@ --- bsmtrace.h.orig 2014-02-05 02:34:38 UTC +++ bsmtrace.h -@@ -43,6 +43,6 @@ int audit_pipe_fd; /* XXX not happy abou +@@ -38,11 +38,11 @@ int audit_pipe_fd; /* XXX not happy abou + char *pflag; + }; + +-struct g_conf opts; +-int audit_pipe_fd; /* XXX not happy about this global */ ++extern struct g_conf opts; ++extern int audit_pipe_fd; /* XXX not happy about this global */ void bsmtrace_error(int, char *, ...); void bsmtrace_exit(int); -void dprintf(char *, ...); +void d_printf(char *, ...); void usage(char *); #endif /* BSM_TRACE_H_ */ Index: head/security/bsmtrace/files/patch-conf.c =================================================================== --- head/security/bsmtrace/files/patch-conf.c (nonexistent) +++ head/security/bsmtrace/files/patch-conf.c (revision 546029) @@ -0,0 +1,10 @@ +--- conf.c.orig 2014-01-14 22:51:19 UTC ++++ conf.c +@@ -54,6 +54,7 @@ extern int yyparse(void); + bsm_set_head_t bsm_set_head; + int lineno = 1; + char *conffile; ++struct g_conf opts; + + /* + * Return BSM set named str, or NULL if the set was not found in the BSM set Property changes on: head/security/bsmtrace/files/patch-conf.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/bsmtrace/files/patch-log.c =================================================================== --- head/security/bsmtrace/files/patch-log.c (nonexistent) +++ head/security/bsmtrace/files/patch-log.c (revision 546029) @@ -0,0 +1,11 @@ +--- 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); Property changes on: head/security/bsmtrace/files/patch-log.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/bsmtrace/files/patch-log.h =================================================================== --- head/security/bsmtrace/files/patch-log.h (nonexistent) +++ head/security/bsmtrace/files/patch-log.h (revision 546029) @@ -0,0 +1,11 @@ +--- log.h.orig 2020-08-23 21:49:13 UTC ++++ log.h +@@ -30,7 +30,7 @@ + #ifndef LOG_H_ + #define LOG_H_ + +-TAILQ_HEAD(, logchannel) log_head; ++extern TAILQ_HEAD(logchannel_head, logchannel) log_head; + + enum { + LOG_CHANNEL_NOP, Property changes on: head/security/bsmtrace/files/patch-log.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property