diff options
Diffstat (limited to 'games/bsdgames/files/patch-hack_hack.termcap.c')
-rw-r--r-- | games/bsdgames/files/patch-hack_hack.termcap.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/games/bsdgames/files/patch-hack_hack.termcap.c b/games/bsdgames/files/patch-hack_hack.termcap.c deleted file mode 100644 index eefbf4a52eea..000000000000 --- a/games/bsdgames/files/patch-hack_hack.termcap.c +++ /dev/null @@ -1,26 +0,0 @@ ---- hack/hack.termcap.c.orig Tue Nov 16 11:26:38 1999 -+++ hack/hack.termcap.c Sun May 27 21:39:48 2007 -@@ -11,10 +11,11 @@ - extern long *alloc(); - - static char tbuf[512]; --static char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE; -+static char *HO, *CL, *CE, *CM, *ND, *XD, *SO, *SE, *TI, *TE; -+char *UP, *BC; - static char *VS, *VE; - static int SG; --static char PC = '\0'; -+char PC = '\0'; - char *CD; /* tested in pri.c: docorner() */ - int CO, LI; /* used in pri.c and whatis.c */ - -@@ -35,7 +36,8 @@ startup() - flags.nonull = 1; - if(pc = tgetstr("pc", &tbufptr)) - PC = *pc; -- if(!(BC = tgetstr("bc", &tbufptr))) { -+ if(!(BC = tgetstr("bc", &tbufptr)) -+ &&!(BC = tgetstr("le", &tbufptr))) { - if(!tgetflag("bs")) - error("Terminal must backspace."); - BC = tbufptr; |