summaryrefslogtreecommitdiff
path: root/package/logrotate/patches/patch-logrotate_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/logrotate/patches/patch-logrotate_h')
-rw-r--r--package/logrotate/patches/patch-logrotate_h19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/logrotate/patches/patch-logrotate_h b/package/logrotate/patches/patch-logrotate_h
new file mode 100644
index 000000000..9a3adefc5
--- /dev/null
+++ b/package/logrotate/patches/patch-logrotate_h
@@ -0,0 +1,19 @@
+$Id$
+--- logrotate-3.7.1.orig/logrotate.h Thu Aug 7 13:13:14 2003
++++ logrotate-3.7.1/logrotate.h Sat Jan 20 18:54:35 2007
+@@ -15,6 +15,7 @@
+ #define LOG_FLAG_MAILFIRST (1 << 6)
+ #define LOG_FLAG_SHAREDSCRIPTS (1 << 7)
+ #define LOG_FLAG_COPY (1 << 8)
++#define LOG_FLAG_DATEEXT (1 << 9)
+
+ #define NO_FORCE_ROTATE 0
+ #define FORCE_ROTATE 1
+@@ -34,6 +35,7 @@ typedef struct {
+ enum { ROT_DAYS, ROT_WEEKLY, ROT_MONTHLY, ROT_SIZE, ROT_FORCE } criterium;
+ unsigned int threshhold;
+ int rotateCount;
++ int rotateAge;
+ int logStart;
+ char * pre, * post, * first, * last;
+ char * logAddress;