aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdgames')
-rw-r--r--games/bsdgames/files/patch-hack::hack.termcap.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/bsdgames/files/patch-hack::hack.termcap.c b/games/bsdgames/files/patch-hack::hack.termcap.c
new file mode 100644
index 000000000000..de8fd532021c
--- /dev/null
+++ b/games/bsdgames/files/patch-hack::hack.termcap.c
@@ -0,0 +1,13 @@
+--- hack/hack.termcap.c.orig Sat Mar 6 22:18:53 2004
++++ hack/hack.termcap.c Thu Mar 11 18:42:47 2004
+@@ -35,7 +35,8 @@
+ 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;
+