diff options
author | demon <demon@FreeBSD.org> | 2003-02-11 15:14:00 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2003-02-11 15:14:00 +0000 |
commit | 7975a8456df3e35d955577a41e70a16792dcba9b (patch) | |
tree | 408bf0ef379669abf3e70fbc83fe8bcb73b37221 /databases/rrdtool10 | |
parent | 78a426da6c5a109b8dda0806db4ae8fa56682637 (diff) | |
download | FreeBSD-ports-7975a8456df3e35d955577a41e70a16792dcba9b.zip FreeBSD-ports-7975a8456df3e35d955577a41e70a16792dcba9b.tar.gz |
Fixes for 64-bit platforms.
Submitted by: Corey Smith <csmith@bonddesk.com>
Diffstat (limited to 'databases/rrdtool10')
-rw-r--r-- | databases/rrdtool10/files/patch-al | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/rrdtool10/files/patch-al b/databases/rrdtool10/files/patch-al new file mode 100644 index 0000000..9c459e89 --- /dev/null +++ b/databases/rrdtool10/files/patch-al @@ -0,0 +1,20 @@ +--- src/parsetime.c.orig Fri Oct 11 14:39:46 2002 ++++ src/parsetime.c Mon Feb 10 20:47:18 2003 +@@ -660,6 +660,7 @@ + { + long mday=0, wday, mon, year = ptv->tm.tm_year; + int tlen; ++ time_t montime; + + switch (sc_tokid) { + case YESTERDAY: +@@ -713,7 +714,8 @@ + tlen = strlen(sc_token); + mon = atol(sc_token); + if (mon > 10*356*24*60*60) { +- ptv->tm=*localtime(&mon); ++ montime = mon; ++ ptv->tm=*localtime(&montime); + token(); + break; + } |