aboutsummaryrefslogtreecommitdiff
path: root/comms/hylafax
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-24 04:54:44 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-24 04:54:44 +0000
commite92b5356c6f72dfba56ebb3611270ee4caa2a26a (patch)
tree4c12c667a6841d26fca8e90131d390fda85d98b2 /comms/hylafax
parent761385b6c38082a03d09c0b039ff73b6ba25914e (diff)
downloadports-e92b5356c6f72dfba56ebb3611270ee4caa2a26a.tar.gz
ports-e92b5356c6f72dfba56ebb3611270ee4caa2a26a.zip
Notes
Diffstat (limited to 'comms/hylafax')
-rw-r--r--comms/hylafax/files/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/hylafax/files/patch-ag b/comms/hylafax/files/patch-ag
new file mode 100644
index 000000000000..07b830d5d1aa
--- /dev/null
+++ b/comms/hylafax/files/patch-ag
@@ -0,0 +1,13 @@
+--- util/xferstats.sh.in.orig Sun Jan 23 19:45:49 2000
++++ util/xferstats.sh.in Sun Jan 23 19:45:29 2000
+@@ -186,7 +186,9 @@
+ #
+ function cvtDateTime(s)
+ {
+- yday = substr(s,7,2)*365 + substr(s,4,2) - 1;
++ y = substr(s,7,2);
++ if ( y < 50) y += 100;
++ yday = y*365 + substr(s,4,2) - 1;
+ mon = substr(s,0,2) + 0;
+ for (i = 0; i < mon; i++)
+ yday += daysInMonth[i];