Index: head/sysutils/logrotate/files/patch-config.c =================================================================== --- head/sysutils/logrotate/files/patch-config.c (revision 547507) +++ head/sysutils/logrotate/files/patch-config.c (revision 547508) @@ -1,10 +1,19 @@ ---- config.c.orig 2017-10-12 15:19:41.000000000 +0000 -+++ config.c 2017-10-14 21:59:41.716559000 +0000 +--- config.c.orig 2017-10-12 15:19:41 UTC ++++ config.c @@ -1,6 +1,6 @@ #include "queue.h" /* Alloca is defined in stdlib.h in NetBSD */ -#ifndef __NetBSD__ +#if !defined(__FreeBSD__) && !defined(__NetBSD__) #include #endif #include +@@ -27,6 +27,8 @@ + + #include "log.h" + #include "logrotate.h" ++ ++extern struct logInfoHead logs; + + #if !defined(GLOB_ABORTED) && defined(GLOB_ABEND) + #define GLOB_ABORTED GLOB_ABEND Index: head/sysutils/logrotate/files/patch-logrotate.c =================================================================== --- head/sysutils/logrotate/files/patch-logrotate.c (revision 547507) +++ head/sysutils/logrotate/files/patch-logrotate.c (revision 547508) @@ -1,10 +1,19 @@ ---- logrotate.c.orig 2017-10-12 15:19:41.000000000 +0000 -+++ logrotate.c 2017-10-14 22:00:57.613844000 +0000 +--- logrotate.c.orig 2017-10-12 15:19:41 UTC ++++ logrotate.c @@ -1,6 +1,6 @@ #include "queue.h" /* alloca() is defined in stdlib.h in NetBSD */ -#ifndef __NetBSD__ +#if !defined(__FreeBSD__) && !defined(__NetBSD__) #include #endif #include +@@ -29,6 +29,8 @@ + + #include "log.h" + #include "logrotate.h" ++ ++struct logInfoHead logs; + + static void *prev_context; + #ifdef WITH_SELINUX Index: head/sysutils/logrotate/files/patch-logrotate.h =================================================================== --- head/sysutils/logrotate/files/patch-logrotate.h (nonexistent) +++ head/sysutils/logrotate/files/patch-logrotate.h (revision 547508) @@ -0,0 +1,11 @@ +--- logrotate.h.orig 2017-10-12 15:19:41 UTC ++++ logrotate.h +@@ -80,7 +80,7 @@ + TAILQ_ENTRY(logInfo) list; + }; + +-TAILQ_HEAD(logInfoHead, logInfo) logs; ++TAILQ_HEAD(logInfoHead, logInfo); + + extern int numLogs; + extern int debug; Property changes on: head/sysutils/logrotate/files/patch-logrotate.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