aboutsummaryrefslogtreecommitdiff
path: root/sysutils/monitord
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-05 20:37:12 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-05 20:37:12 +0000
commit24c0e6d51ab1198a9c9a811fc32145ac4cc4eca0 (patch)
tree6312f74d8e2272e151bfc0ce4c42d616fc5b0a9e /sysutils/monitord
parent73222b12f13fb22b213a184815f83bdfa430246c (diff)
downloadports-24c0e6d51ab1198a9c9a811fc32145ac4cc4eca0.tar.gz
ports-24c0e6d51ab1198a9c9a811fc32145ac4cc4eca0.zip
Notes
Diffstat (limited to 'sysutils/monitord')
-rw-r--r--sysutils/monitord/files/patch-ab18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/monitord/files/patch-ab b/sysutils/monitord/files/patch-ab
new file mode 100644
index 000000000000..64ec4d7c9f25
--- /dev/null
+++ b/sysutils/monitord/files/patch-ab
@@ -0,0 +1,18 @@
+--- monitord.c.orig Fri Jan 17 03:39:44 2003
++++ monitord.c Thu Sep 23 17:23:02 2004
+@@ -454,13 +454,13 @@
+
+ struct timeval *tp;
+ struct timezone *tzp;
+- const time_t *time;
++ time_t *time;
+ char *buf;
+
+ buf = (char *) malloc ( (size_t) _BUFSIZE ); // init the time buffer
+ tp = (struct timeval *) malloc ( (size_t) sizeof (struct timeval) ); // init the time buffer
+ tzp = (struct timezone *) malloc ( (size_t) sizeof (struct timezone) ); // init the timezone buffer
+- time = (const time_t *) malloc ( (size_t) sizeof (time_t) ); // init the timezone buffer
++ time = (time_t *) malloc ( (size_t) sizeof (time_t) ); // init the timezone buffer
+
+ /* Get time of day in seconds since Epoch */
+ gettimeofday (tp, tzp);