diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-09-20 15:08:48 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-09-20 15:08:48 +0000 |
commit | 9e8ec87da9cf5824d41f8d7f9f53c631157a2b04 (patch) | |
tree | 691ac307de86b5bda98b40e2d13017692af18b45 /games/xboard | |
parent | d60ae9cd6acf29c3d06ab2fd78d4d0522ad6a66a (diff) | |
download | pkgsrc-9e8ec87da9cf5824d41f8d7f9f53c631157a2b04.tar.gz |
Fix y2k bug in 'cmail'
Reported in PR 11048 by Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk>.
Diffstat (limited to 'games/xboard')
-rw-r--r-- | games/xboard/files/patch-sum | 3 | ||||
-rw-r--r-- | games/xboard/patches/patch-ag | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/games/xboard/files/patch-sum b/games/xboard/files/patch-sum index c0bb28787e5..bd24e4b536f 100644 --- a/games/xboard/files/patch-sum +++ b/games/xboard/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.3 2000/09/15 15:53:16 jlam Exp $ +$NetBSD: patch-sum,v 1.4 2000/09/20 15:08:48 hubertf Exp $ MD5 (patch-aa) = e7741f80bc768e19b886f01fd2401ce9 MD5 (patch-ab) = ccc82e971deb803ab0d8e6a39fd29e45 @@ -6,3 +6,4 @@ MD5 (patch-ac) = 6280c803e8603b7e59f393891e5e2725 MD5 (patch-ad) = 39d3c9193501771bc749bdf3c7a596b5 MD5 (patch-ae) = 05390b943be9d2677f88f53819e90111 MD5 (patch-af) = fa90f263e7d3af10aad1bb000ec487d8 +MD5 (patch-ag) = 9bba9e0f564792d0290934382eac0890 diff --git a/games/xboard/patches/patch-ag b/games/xboard/patches/patch-ag new file mode 100644 index 00000000000..b807054554c --- /dev/null +++ b/games/xboard/patches/patch-ag @@ -0,0 +1,19 @@ +$NetBSD: patch-ag,v 1.1 2000/09/20 15:08:48 hubertf Exp $ + +--- cmail.in.orig Mon Aug 16 06:36:54 1999 ++++ cmail.in +@@ -798,12 +798,8 @@ + if ($mon < 10) { + $mon = "0$mon" ; + } +- if ($year < 94) { +- $century = 20 ; +- } else { +- $century = 19 ; +- } +- "$century$year.$mon.$mday" ; ++ $real_year = 1900 + $year; ++ "$real_year.$mon.$mday" ; + } + #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# + |