diff options
author | agc <agc@pkgsrc.org> | 2000-01-01 04:46:59 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-01-01 04:46:59 +0000 |
commit | 869e3d3fe1502530827a6919ae67c7c9b671f8ab (patch) | |
tree | c244c1749cdd341f390abd441c4f5af85461d8a2 /x11/dclock | |
parent | f69e488ea932625c30b1a2d2ebeb6e6ceb2b8a13 (diff) | |
download | pkgsrc-869e3d3fe1502530827a6919ae67c7c9b671f8ab.tar.gz |
This patch has been incorporated into patch-ab, as pointed out by Robert
Elz in PR pkg/9092.
Diffstat (limited to 'x11/dclock')
-rw-r--r-- | x11/dclock/patches/patch-ad | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/x11/dclock/patches/patch-ad b/x11/dclock/patches/patch-ad deleted file mode 100644 index 40f465b9991..00000000000 --- a/x11/dclock/patches/patch-ad +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ad,v 1.1 1999/12/31 17:29:09 itojun Exp $ - -y2k - ---- Dclock.c.orig Sat Jan 1 02:24:07 2000 -+++ Dclock.c Sat Jan 1 02:25:10 2000 -@@ -891,11 +891,12 @@ - *datep++ = now->tm_mday % 10 + '0'; - break; - case 'Y': -- *datep++ = '1', *datep++ = '9'; -+ *datep++ = (now->tm_year + 1900) / 1000 + '0'; -+ *datep++ = (now->tm_year + 1900) % 1000 / 100 + '0'; - /* FALLTHROUGH */ - case 'y': -- *datep++ = now->tm_year / 10 + '0'; -- *datep++ = now->tm_year % 10 + '0'; -+ *datep++ = now->tm_year % 100 / 10 + '0'; -+ *datep++ = now->tm_year % 10 + '0'; - break; - case '%': - *datep++ = *p; |