aboutsummaryrefslogtreecommitdiff
path: root/www/apache13-modssl
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-01-15 10:04:53 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-01-15 10:04:53 +0000
commitdb241e1eb3a2a1d90bc9e4a4075ce58550bcabab (patch)
tree206207dd590f5dc412ce4a8343816c11804955da /www/apache13-modssl
parent3f2a71d4bfb7b892e8fffa6c5967f486468020e8 (diff)
downloadports-db241e1eb3a2a1d90bc9e4a4075ce58550bcabab.tar.gz
ports-db241e1eb3a2a1d90bc9e4a4075ce58550bcabab.zip
Notes
Diffstat (limited to 'www/apache13-modssl')
-rw-r--r--www/apache13-modssl/files/rotatelogs.c.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/apache13-modssl/files/rotatelogs.c.patch b/www/apache13-modssl/files/rotatelogs.c.patch
new file mode 100644
index 000000000000..b2d5c79a92ff
--- /dev/null
+++ b/www/apache13-modssl/files/rotatelogs.c.patch
@@ -0,0 +1,19 @@
+--- src/support/rotatelogs.c~ Mon Aug 3 11:15:33 1998
++++ src/support/rotatelogs.c Sun Mar 26 22:42:40 2000
+@@ -11,6 +11,7 @@
+ #include <time.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <unistd.h>
+
+ #define BUFSIZE 65536
+ #define ERRMSGSZ 82
+@@ -95,6 +96,8 @@
+ }
+ else {
+ close(nLogFDprev);
++ unlink(szLogRoot);
++ link(buf2, szLogRoot);
+ }
+ nMessCount = 0;
+ }