summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-20 21:32:23 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-20 21:32:23 +0000
commite7f348a645f468653519856d380d64fadcc1fea6 (patch)
treef0e23b2d80786b746c5975bdcdc903c07ff3b374 /converters
parentFix build on -current (#ifdef 0 -> #if 0) (diff)
Fix build on -current (move FILE * initializers from declaration to main())
Notes
Notes: svn path=/head/; revision=68440
Diffstat (limited to 'converters')
-rw-r--r--converters/i18ntools/files/patch-aa26
-rw-r--r--converters/i18ntools/files/patch-ab23
-rw-r--r--converters/i18ntools/files/patch-ac23
-rw-r--r--converters/i18ntools/files/patch-ad26
4 files changed, 98 insertions, 0 deletions
diff --git a/converters/i18ntools/files/patch-aa b/converters/i18ntools/files/patch-aa
new file mode 100644
index 000000000000..889605a9110c
--- /dev/null
+++ b/converters/i18ntools/files/patch-aa
@@ -0,0 +1,26 @@
+--- utrans.c.orig Sun Oct 20 14:28:59 2002
++++ utrans.c Sun Oct 20 14:29:45 2002
+@@ -45,9 +45,9 @@
+ static int binary = 1;
+ static unsigned int line = 1;
+ static unsigned int character = 1;
+-static FILE *input = stdin;
+-static FILE *output = stdout;
+-static FILE *page = NULL;
++static FILE *input;
++static FILE *output;
++static FILE *page;
+ static char *charmap = NULL;
+ static char buffer[9];
+
+@@ -149,6 +149,10 @@
+ char *outp = NULL;
+ char *pg = NULL;
+ char *cp;
++
++ input = stdin;
++ output = stdout;
++ page = NULL;
+
+ for (i = 1; i < argc; i++) {
+ if (argv[i][0] != '-')
diff --git a/converters/i18ntools/files/patch-ab b/converters/i18ntools/files/patch-ab
new file mode 100644
index 000000000000..411236fbd650
--- /dev/null
+++ b/converters/i18ntools/files/patch-ab
@@ -0,0 +1,23 @@
+--- uhtrans.c~ Mon Apr 5 23:00:00 1999
++++ uhtrans.c Sun Oct 20 14:31:19 2002
+@@ -41,8 +41,8 @@
+
+ static unsigned int line = 1;
+ static unsigned int numerrors = 0;
+-static FILE *input = stdin;
+-static FILE *output = stdout;
++static FILE *input;
++static FILE *output;
+
+ int usage() {
+ fprintf(stderr, "Usage: uhtrans [ -i inputfile][ -o outputfile]\n");
+@@ -63,6 +63,9 @@
+ unsigned int c;
+ char *inp = NULL;
+ char *outp = NULL;
++
++ input = stdin;
++ output = stdout;
+
+ for (i = 1; i < argc; i++) {
+ if (argv[i][0] != '-')
diff --git a/converters/i18ntools/files/patch-ac b/converters/i18ntools/files/patch-ac
new file mode 100644
index 000000000000..0478d6d79413
--- /dev/null
+++ b/converters/i18ntools/files/patch-ac
@@ -0,0 +1,23 @@
+--- hutrans.c.orig Sun Oct 20 14:31:49 2002
++++ hutrans.c Sun Oct 20 14:32:24 2002
+@@ -42,8 +42,8 @@
+
+ int inbuffer = 0;
+ int nextchar = 0;
+-static FILE *input = stdin;
+-static FILE *output = stdout;
++static FILE *input;
++static FILE *output;
+ static char buffer[BUFFERSIZE];
+
+ /*
+@@ -137,6 +137,9 @@
+ unsigned int c;
+ char *inp = NULL;
+ char *outp = NULL;
++
++ input = stdin;
++ output = stdout;
+
+ for (i = 1; i < argc; i++) {
+ if (argv[i][0] != '-')
diff --git a/converters/i18ntools/files/patch-ad b/converters/i18ntools/files/patch-ad
new file mode 100644
index 000000000000..697bdeb3bbcc
--- /dev/null
+++ b/converters/i18ntools/files/patch-ad
@@ -0,0 +1,26 @@
+--- ptrans.c.orig Sun Oct 20 14:32:45 2002
++++ ptrans.c Sun Oct 20 14:33:30 2002
+@@ -45,9 +45,9 @@
+ static int eightbit = 1;
+ static unsigned int line = 1;
+ static unsigned int character = 0;
+-static FILE *input = stdin;
+-static FILE *output = stdout;
+-static FILE *page = NULL;
++static FILE *input;
++static FILE *output;
++static FILE *page;
+ static char *charmap = NULL;
+ static char buffer[9];
+ static int uni[256] = {
+@@ -748,6 +748,10 @@
+ char *outp = NULL;
+ char *pg = NULL;
+ char *cp;
++
++ input = stdin;
++ output = stdout;
++ page = NULL;
+
+ for (i = 1; i < argc; i++) {
+ if (argv[i][0] != '-')