summaryrefslogtreecommitdiff
path: root/games/xboard/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'games/xboard/patches/patch-ag')
-rw-r--r--games/xboard/patches/patch-ag19
1 files changed, 19 insertions, 0 deletions
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" ;
+ }
+ #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
+