diff options
author | Steve Price <steve@FreeBSD.org> | 2000-01-24 05:52:02 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-01-24 05:52:02 +0000 |
commit | d0e744c166b6264062ca0df7c5879a8d6d6695b7 (patch) | |
tree | 3ffc56338bc49ea5909d89a669f825c05cf98338 /japanese/e2ps | |
parent | 2192ea6b700e9ad556643dc11f596900f4e8eb74 (diff) | |
download | ports-d0e744c166b6264062ca0df7c5879a8d6d6695b7.tar.gz ports-d0e744c166b6264062ca0df7c5879a8d6d6695b7.zip |
Notes
Diffstat (limited to 'japanese/e2ps')
-rw-r--r-- | japanese/e2ps/files/patch-aa | 33 | ||||
-rw-r--r-- | japanese/e2ps/files/patch-ab | 15 | ||||
-rw-r--r-- | japanese/e2ps/files/patch-ac | 19 |
3 files changed, 67 insertions, 0 deletions
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 <signal.h> + #include <string.h> + #include <math.h> ++ #include <sys/types.h> ++ #include <unistd.h> ++ #include <stdlib.h> ++ + + /* 定数類 */ + #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 = \ |