aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/monitord
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-10-06 04:37:12 +0800
committerdanfe <danfe@FreeBSD.org>2004-10-06 04:37:12 +0800
commit85e4f4324a7762b172f76f5986c546f068c8d648 (patch)
tree7f1fea42af8c8485a58c39975ffb8d3800ebaf5d /sysutils/monitord
parent0eae4c75a5d2cfc06b5c0ffca41506de9f4488dd (diff)
downloadfreebsd-ports-gnome-85e4f4324a7762b172f76f5986c546f068c8d648.tar.gz
freebsd-ports-gnome-85e4f4324a7762b172f76f5986c546f068c8d648.tar.zst
freebsd-ports-gnome-85e4f4324a7762b172f76f5986c546f068c8d648.zip
Actually add patch file forgotten in previous commit.
Approved by: portmgr (marcus) fjoe (mentor, implicit)
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);