summaryrefslogtreecommitdiff
path: root/sysutils/logrotate/files/patch-logrotate.c
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2012-12-17 15:22:55 +0000
committerWesley Shields <wxs@FreeBSD.org>2012-12-17 15:22:55 +0000
commit1a6db7c45a743f1e2dba0d92ef06d6b2dc021205 (patch)
tree8342b09219687318e08f0333541a5949680209d8 /sysutils/logrotate/files/patch-logrotate.c
parentFixup plist and USE_QT4 to be more accurate. (diff)
Update to 3.8.3.
PR: ports/173496 Submitted by: wxs@ Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=309102
Diffstat (limited to 'sysutils/logrotate/files/patch-logrotate.c')
-rw-r--r--sysutils/logrotate/files/patch-logrotate.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/sysutils/logrotate/files/patch-logrotate.c b/sysutils/logrotate/files/patch-logrotate.c
index 926f3a1906e2..7daf6111a1be 100644
--- a/sysutils/logrotate/files/patch-logrotate.c
+++ b/sysutils/logrotate/files/patch-logrotate.c
@@ -1,18 +1,11 @@
-diff --git a/logrotate.c b/logrotate.c
-index 3748918..a528367 100644
---- a/logrotate.c
-+++ b/logrotate.c
-@@ -1,5 +1,4 @@
+--- logrotate.c.orig 2012-11-09 19:00:58.744187984 +0800
++++ logrotate.c 2012-11-09 19:01:05.528189740 +0800
+@@ -1,8 +1,4 @@
#include <sys/queue.h>
+-/* alloca() is defined in stdlib.h in NetBSD */
+-#ifndef __NetBSD__
-#include <alloca.h>
+-#endif
+ #include <limits.h>
#include <ctype.h>
#include <dirent.h>
- #include <errno.h>
-@@ -16,6 +15,7 @@
- #include <locale.h>
- #include <sys/types.h>
- #include <utime.h>
-+#include <limits.h>
-
- #if defined(SunOS)
- #include <syslimits.h>