SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
49
misc/deco/patches/patch-scr_c
Normal file
49
misc/deco/patches/patch-scr_c
Normal file
|
@ -0,0 +1,49 @@
|
|||
Hunk #1: Fix -fno-common build failure.
|
||||
|
||||
Index: scr.c
|
||||
--- scr.c.orig
|
||||
+++ 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,
|
||||
- *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB;
|
||||
+ *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB, *OP;
|
||||
static NF, NB;
|
||||
static char MS, C2;
|
||||
|
||||
@@ -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, },
|
||||
+ { "op", CAPSTR, 0, 0, 0, &OP, },
|
||||
{ { 0, 0, }, 0, 0, 0, 0, 0, },
|
||||
};
|
||||
|
||||
@@ -413,6 +414,8 @@ void VClose ()
|
||||
tputs (TE);
|
||||
if (KE)
|
||||
tputs (KE);
|
||||
+ if (OP)
|
||||
+ tputs (OP);
|
||||
VFlush ();
|
||||
TtyReset ();
|
||||
}
|
||||
@@ -425,6 +428,8 @@ void VRestore ()
|
||||
tputs (VE);
|
||||
if (KE)
|
||||
tputs (KE);
|
||||
+ if (OP)
|
||||
+ tputs (OP);
|
||||
VFlush ();
|
||||
TtyReset ();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue