From 2450ad23387f34cfa314031c31c4b0497ced91b6 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 24 Jan 2000 05:52:02 +0000 Subject: Fix a couple of Y2K problems. PR: 16062 Submitted by: maintainer --- japanese/e2ps/files/patch-aa | 33 +++++++++++++++++++++++++++++++++ japanese/e2ps/files/patch-ab | 15 +++++++++++++++ japanese/e2ps/files/patch-ac | 19 +++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 japanese/e2ps/files/patch-aa create mode 100644 japanese/e2ps/files/patch-ab create mode 100644 japanese/e2ps/files/patch-ac (limited to 'japanese/e2ps') diff --git a/japanese/e2ps/files/patch-aa b/japanese/e2ps/files/patch-aa new file mode 100644 index 000000000000..a1e5c63712cd --- /dev/null +++ b/japanese/e2ps/files/patch-aa @@ -0,0 +1,33 @@ +*** e2ps.c.orig Wed Nov 4 22:44:30 1998 +--- e2ps.c Wed Jan 5 11:45:18 2000 +*************** +*** 87,92 **** +--- 87,95 ---- + void help(char *,char *); /* ヘルプとエラー */ + void quit(int); /* 停止された時 */ + ++ extern char *euc(unsigned char *); ++ extern char *ps_font(char *, float *); ++ + void main(int argc,char **argv) { + FILE *read; + struct tm *systime; +*************** +*** 112,119 **** + /* 日付・時刻をセット */ + nowtime = time(NULL); + systime = localtime(&nowtime); +! sprintf(NOWTIME,"%s %.2d 19%.2d %.2d:%.2d:%.2d" +! , month(systime->tm_mon) , systime->tm_mday , systime->tm_year + , systime->tm_hour , systime->tm_min , systime->tm_sec); + + /* ヘッダ */ +--- 115,122 ---- + /* 日付・時刻をセット */ + nowtime = time(NULL); + systime = localtime(&nowtime); +! sprintf(NOWTIME,"%s %.2d %.4d %.2d:%.2d:%.2d" +! , month(systime->tm_mon) , systime->tm_mday , systime->tm_year+1900 + , systime->tm_hour , systime->tm_min , systime->tm_sec); + + /* ヘッダ */ diff --git a/japanese/e2ps/files/patch-ab b/japanese/e2ps/files/patch-ab new file mode 100644 index 000000000000..bea0b9726830 --- /dev/null +++ b/japanese/e2ps/files/patch-ab @@ -0,0 +1,15 @@ +*** e2ps.h.orig Wed Nov 4 22:44:09 1998 +--- e2ps.h Wed Jan 5 11:32:16 2000 +*************** +*** 10,15 **** +--- 10,19 ---- + #include + #include + #include ++ #include ++ #include ++ #include ++ + + /* 定数類 */ + #define NAME "e2ps" /* 名前 */ diff --git a/japanese/e2ps/files/patch-ac b/japanese/e2ps/files/patch-ac new file mode 100644 index 000000000000..5113d49e792c --- /dev/null +++ b/japanese/e2ps/files/patch-ac @@ -0,0 +1,19 @@ +*** Makefile.orig Wed Nov 4 22:42:02 1998 +--- Makefile Wed Jan 5 12:32:13 2000 +*************** +*** 27,33 **** + FONTSIZE = 10.0 + + # デフォルトプリンタ +! PRINTER = \"papyrus\" + + # 定義群 + DEFINES = \ +--- 27,33 ---- + FONTSIZE = 10.0 + + # デフォルトプリンタ +! PRINTER = \"lp\" + + # 定義群 + DEFINES = \ -- cgit