summaryrefslogtreecommitdiff
path: root/sysutils/logrotate/files/patch-logrotate.c
diff options
context:
space:
mode:
authorLuca Pizzamiglio <pizzamig@FreeBSD.org>2017-10-17 08:21:17 +0000
committerLuca Pizzamiglio <pizzamig@FreeBSD.org>2017-10-17 08:21:17 +0000
commitd5619e7fdbe2b6a38a20e26797bf7a7acaf9d450 (patch)
tree9ab909e49c25416cbc1ece339b1704f619dc7043 /sysutils/logrotate/files/patch-logrotate.c
parentNew port for the FUSE support library version 3. (diff)
sysutils/logrotate: Update to 3.13.0
PR: 223017 Submitted by: js@iksz.hu (maintainer) Approved by: olivier (mentor) Differential Revision: https://reviews.freebsd.org/D12687
Notes
Notes: svn path=/head/; revision=452271
Diffstat (limited to 'sysutils/logrotate/files/patch-logrotate.c')
-rw-r--r--sysutils/logrotate/files/patch-logrotate.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/sysutils/logrotate/files/patch-logrotate.c b/sysutils/logrotate/files/patch-logrotate.c
index ca2dc0434a3f..854db23df096 100644
--- a/sysutils/logrotate/files/patch-logrotate.c
+++ b/sysutils/logrotate/files/patch-logrotate.c
@@ -1,11 +1,10 @@
---- logrotate.c.orig 2015-02-13 06:11:21 UTC
-+++ logrotate.c
-@@ -1,8 +1,4 @@
+--- logrotate.c.orig 2017-10-12 15:19:41.000000000 +0000
++++ logrotate.c 2017-10-14 22:00:57.613844000 +0000
+@@ -1,6 +1,6 @@
#include "queue.h"
--/* alloca() is defined in stdlib.h in NetBSD */
+ /* alloca() is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
--#include <alloca.h>
--#endif
++#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+ #include <alloca.h>
+ #endif
#include <limits.h>
- #include <ctype.h>
- #include <dirent.h>