ports/security/bsmtrace/files/patch-conf.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

10 lines
269 B
C

--- 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