summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0000000..64ec4d7c
--- /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);
OpenPOWER on IntegriCloud