diff options
author | Motoyuki Konno <motoyuki@FreeBSD.org> | 2003-07-19 05:55:00 +0000 |
---|---|---|
committer | Motoyuki Konno <motoyuki@FreeBSD.org> | 2003-07-19 05:55:00 +0000 |
commit | fea9346f1d73764a2148b051a6d7d0ecdf77a2c1 (patch) | |
tree | 7c823a9e4eca7ced785190b6d6835a5879afb1ea /japanese/mh/files/patch-am | |
parent | a small tool to convert VDA format (produced by many CAD (diff) |
* Update to 6.8.4 JP 3.05.
* Use <stdarg.h> instead of <varargs.h> [1].
Use of <varargs.h> causes error on FreeBSD 5-current with GCC 3.3.1.
Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> [1]
PR: ports/54524
Notes
Notes:
svn path=/head/; revision=85178
Diffstat (limited to 'japanese/mh/files/patch-am')
-rw-r--r-- | japanese/mh/files/patch-am | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/japanese/mh/files/patch-am b/japanese/mh/files/patch-am deleted file mode 100644 index 5b79e01d2cf3..000000000000 --- a/japanese/mh/files/patch-am +++ /dev/null @@ -1,33 +0,0 @@ ---- zotnet/tws/dtimep.c-lexed.orig Tue Feb 9 20:30:00 1999 -+++ zotnet/tws/dtimep.c-lexed Tue Jan 4 11:03:29 2000 -@@ -151,6 +151,7 @@ - - /* Zero out the struct. */ - bzero( (char *) &tw, sizeof tw); -+ tw.tw_year = -1; - - /* Set default time zone. */ - #ifdef ZONEINFO -@@ -175,17 +176,19 @@ - switch (cp = str, *cp ? lex_string( &str, start_cond) : 0) { - - case -1: -- if (!gotdate || tw.tw_year == 0) -+ if (!gotdate || tw.tw_year == -1) - return (struct tws *)0; - /* fall through */ - case 0: -- if ( tw.tw_year == 0 ) { -+ if ( tw.tw_year == -1 ) { - /* Set default year. */ - time (&tclock); - tw.tw_year = localtime(&tclock)->tm_year + 1900; - } -+ else if (tw.tw_year < 69) { -+ tw.tw_year += 2000; -+ } - else if (tw.tw_year < 100) { -- /* assume no 2-digit years > 1999 */ - tw.tw_year += 1900; - } - return &tw; |