mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Make dic/ideo/pubdic/pod.c compilable on -current.
Submitted by: Takayuki Tamura <ttathome@remus.dti.ne.jp>
This commit is contained in:
parent
be0f53740f
commit
0ac810a065
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50286
20
japanese/Canna/files/patch-aj
Normal file
20
japanese/Canna/files/patch-aj
Normal file
@ -0,0 +1,20 @@
|
||||
--- dic/ideo/pubdic/pod.c.orig Tue May 31 20:42:12 1994
|
||||
+++ dic/ideo/pubdic/pod.c Sun Nov 18 23:12:19 2001
|
||||
@@ -51,7 +51,7 @@
|
||||
static int list_kinds;
|
||||
static int copy_frequency, extract_kana = 0;
|
||||
static long specific_kind;
|
||||
-static FILE *in1 = stdin, *in2 = stdin;
|
||||
+static FILE *in1, *in2;
|
||||
static char *common_out, *old_out, *new_out, *hinshi_table, *bunrui;
|
||||
static char *description_table;
|
||||
static int selhinshi = 0;
|
||||
@@ -1339,6 +1339,8 @@
|
||||
exit(1);
|
||||
}
|
||||
|
||||
+ in1 = stdin;
|
||||
+ in2 = stdin;
|
||||
if (argv[1][0] != '-' || argv[1][1]) {
|
||||
in1 = fopen(argv[1], "r");
|
||||
if (!in1) {
|
20
japanese/canna-lib/files/patch-aj
Normal file
20
japanese/canna-lib/files/patch-aj
Normal file
@ -0,0 +1,20 @@
|
||||
--- dic/ideo/pubdic/pod.c.orig Tue May 31 20:42:12 1994
|
||||
+++ dic/ideo/pubdic/pod.c Sun Nov 18 23:12:19 2001
|
||||
@@ -51,7 +51,7 @@
|
||||
static int list_kinds;
|
||||
static int copy_frequency, extract_kana = 0;
|
||||
static long specific_kind;
|
||||
-static FILE *in1 = stdin, *in2 = stdin;
|
||||
+static FILE *in1, *in2;
|
||||
static char *common_out, *old_out, *new_out, *hinshi_table, *bunrui;
|
||||
static char *description_table;
|
||||
static int selhinshi = 0;
|
||||
@@ -1339,6 +1339,8 @@
|
||||
exit(1);
|
||||
}
|
||||
|
||||
+ in1 = stdin;
|
||||
+ in2 = stdin;
|
||||
if (argv[1][0] != '-' || argv[1][1]) {
|
||||
in1 = fopen(argv[1], "r");
|
||||
if (!in1) {
|
20
japanese/canna-server/files/patch-aj
Normal file
20
japanese/canna-server/files/patch-aj
Normal file
@ -0,0 +1,20 @@
|
||||
--- dic/ideo/pubdic/pod.c.orig Tue May 31 20:42:12 1994
|
||||
+++ dic/ideo/pubdic/pod.c Sun Nov 18 23:12:19 2001
|
||||
@@ -51,7 +51,7 @@
|
||||
static int list_kinds;
|
||||
static int copy_frequency, extract_kana = 0;
|
||||
static long specific_kind;
|
||||
-static FILE *in1 = stdin, *in2 = stdin;
|
||||
+static FILE *in1, *in2;
|
||||
static char *common_out, *old_out, *new_out, *hinshi_table, *bunrui;
|
||||
static char *description_table;
|
||||
static int selhinshi = 0;
|
||||
@@ -1339,6 +1339,8 @@
|
||||
exit(1);
|
||||
}
|
||||
|
||||
+ in1 = stdin;
|
||||
+ in2 = stdin;
|
||||
if (argv[1][0] != '-' || argv[1][1]) {
|
||||
in1 = fopen(argv[1], "r");
|
||||
if (!in1) {
|
Loading…
Reference in New Issue
Block a user