aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2001-11-21 05:07:11 +0800
committermax <max@FreeBSD.org>2001-11-21 05:07:11 +0800
commit5515e81f491ca895a967e62aa3c1f501858ab504 (patch)
tree0c13dca81607735a854b9a2be4817be955c1d59b /japanese
parent0137b04a604c5534616d967761aa4e173a401d32 (diff)
downloadfreebsd-ports-gnome-5515e81f491ca895a967e62aa3c1f501858ab504.tar.gz
freebsd-ports-gnome-5515e81f491ca895a967e62aa3c1f501858ab504.tar.zst
freebsd-ports-gnome-5515e81f491ca895a967e62aa3c1f501858ab504.zip
Make dic/ideo/pubdic/pod.c compilable on -current.
Submitted by: Takayuki Tamura <ttathome@remus.dti.ne.jp>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Canna/files/patch-aj20
-rw-r--r--japanese/canna-lib/files/patch-aj20
-rw-r--r--japanese/canna-server/files/patch-aj20
3 files changed, 60 insertions, 0 deletions
diff --git a/japanese/Canna/files/patch-aj b/japanese/Canna/files/patch-aj
new file mode 100644
index 000000000000..fbf03ae61557
--- /dev/null
+++ b/japanese/Canna/files/patch-aj
@@ -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) {
diff --git a/japanese/canna-lib/files/patch-aj b/japanese/canna-lib/files/patch-aj
new file mode 100644
index 000000000000..fbf03ae61557
--- /dev/null
+++ b/japanese/canna-lib/files/patch-aj
@@ -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) {
diff --git a/japanese/canna-server/files/patch-aj b/japanese/canna-server/files/patch-aj
new file mode 100644
index 000000000000..fbf03ae61557
--- /dev/null
+++ b/japanese/canna-server/files/patch-aj
@@ -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) {