summaryrefslogtreecommitdiff
path: root/misc/deco
diff options
context:
space:
mode:
Diffstat (limited to 'misc/deco')
-rw-r--r--misc/deco/files/patch-env.h8
-rw-r--r--misc/deco/files/patch-scr.c20
-rw-r--r--misc/deco/files/patch-tty.c11
3 files changed, 34 insertions, 5 deletions
diff --git a/misc/deco/files/patch-env.h b/misc/deco/files/patch-env.h
new file mode 100644
index 000000000000..0b2186767f60
--- /dev/null
+++ b/misc/deco/files/patch-env.h
@@ -0,0 +1,8 @@
+--- env.h.orig 1997-07-12 16:29:23 UTC
++++ env.h
+@@ -1,4 +1,4 @@
+-char **EnvVector;
++static char **EnvVector;
+ void EnvInit (char **env);
+ char *EnvGet (char *name);
+ void EnvPut (char *name, char *value);
diff --git a/misc/deco/files/patch-scr.c b/misc/deco/files/patch-scr.c
index d6efc7afa293..607898ddd1ae 100644
--- a/misc/deco/files/patch-scr.c
+++ b/misc/deco/files/patch-scr.c
@@ -1,5 +1,15 @@
-Index: scr.c
-@@ -167,7 +167,7 @@
+--- scr.c.orig 1998-12-29 16:57:11 UTC
++++ scr.c
+@@ -148,7 +148,7 @@ WINDOW VScreen;
+ int BlackWhite = 0;
+ int ColorMode = 1;
+ int GraphMode = 1;
+-int TtyUpperCase = 0;
++extern int TtyUpperCase;
+
+ static WINDOW curscr;
+ static scrool, rscrool;
+@@ -167,7 +167,7 @@ static char *KS, *KE;
static char *CL, *CM, *SE, *SO, *TE, *TI, *VE, *VS,
*AL, *DL, *IS, *IF, *FS, *MD, *MH, *ME, *MR,
@@ -8,7 +18,7 @@ Index: scr.c
static NF, NB;
static char MS, C2;
-@@ -231,6 +231,7 @@
+@@ -231,6 +231,7 @@ struct CapTab outtab [] = {
{ "Cs", CAPSTR, 0, 0, 0, &Cs, },
{ "Ce", CAPSTR, 0, 0, 0, &Ce, },
{ "Ct", CAPSTR, 0, 0, 0, &Ct, },
@@ -16,7 +26,7 @@ Index: scr.c
{ { 0, 0, }, 0, 0, 0, 0, 0, },
};
-@@ -413,6 +414,8 @@
+@@ -413,6 +414,8 @@ void VClose ()
tputs (TE);
if (KE)
tputs (KE);
@@ -25,7 +35,7 @@ Index: scr.c
VFlush ();
TtyReset ();
}
-@@ -425,6 +428,8 @@
+@@ -425,6 +428,8 @@ void VRestore ()
tputs (VE);
if (KE)
tputs (KE);
diff --git a/misc/deco/files/patch-tty.c b/misc/deco/files/patch-tty.c
new file mode 100644
index 000000000000..083d06c4fbf8
--- /dev/null
+++ b/misc/deco/files/patch-tty.c
@@ -0,0 +1,11 @@
+--- tty.c.orig 1997-07-18 14:58:32 UTC
++++ tty.c
+@@ -82,7 +82,7 @@ static struct ltchars oldchars, newchars;
+ # define OXTABS TAB3
+ #endif
+
+-int TtyUpperCase;
++int TtyUpperCase = 0;
+
+ #define NOCHAR 0
+