summaryrefslogtreecommitdiff
path: root/x11-clocks/dclock/files/patch-ad
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-12-18 14:54:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-12-18 14:54:18 +0000
commit8b860602522100d32030a692e2d50186c1648b7a (patch)
treef4c50995a8b9630b93c039c03dc096f7382b6e25 /x11-clocks/dclock/files/patch-ad
parentNew port -- SCIM IMEngine module using Tomoe (diff)
- Update to 2.1.2.7 and take maintainership
As is described in pkg-descr, now this port uses Debian porting of Tim Edwards's version 2.0. It is heavily modified from Dan Heller's original version, and is not fully compatible with it. But still it is reasonable replacement of disappeared old version. PR: ports/90570 Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
Diffstat (limited to 'x11-clocks/dclock/files/patch-ad')
-rw-r--r--x11-clocks/dclock/files/patch-ad27
1 files changed, 0 insertions, 27 deletions
diff --git a/x11-clocks/dclock/files/patch-ad b/x11-clocks/dclock/files/patch-ad
deleted file mode 100644
index 2ff8cbfb2954..000000000000
--- a/x11-clocks/dclock/files/patch-ad
+++ /dev/null
@@ -1,27 +0,0 @@
---- Dclock.c.orig Tue Jan 4 14:01:53 2000
-+++ Dclock.c Tue Jan 4 14:01:55 2000
-@@ -967,7 +967,7 @@
- {
- char datestr[128];
- register char *datep = datestr, *p;
-- int x;
-+ int x, year = now->tm_year + 1900;
-
- if (!w->dclock.display_time)
- datep += strlen(strcpy(datep, "Push HERE to Set/Unset Alarm"));
-@@ -1000,11 +1000,12 @@
- *datep++ = (now->tm_mday / 10 + '0');
- *datep++ = now->tm_mday % 10 + '0';
- when 'Y':
-- *datep++ = '1', *datep++ = '9';
-+ *datep++ = (year / 1000) % 10 + '0';
-+ *datep++ = (year / 100) % 10 + '0';
- /* fall thru */
- case 'y':
-- *datep++ = now->tm_year / 10 + '0';
-- *datep++ = now->tm_year % 10 + '0';
-+ *datep++ = (year / 10) % 10 + '0';
-+ *datep++ = year % 10 + '0';
- when '%':
- *datep++ = *p;
- otherwise: ; /* nothing */