diff options
author | krion <krion@FreeBSD.org> | 2004-03-12 18:10:22 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-12 18:10:22 +0800 |
commit | 4fb46ad96c1bc994139b58250b1f0e8a17b25d3b (patch) | |
tree | 4192bc5f6e73696b357a7e3fc3fe9ff4fee9dd26 /games/freebsd-games | |
parent | f8c4f6beabdc19783ce2961d8a38c0f01e711e27 (diff) | |
download | freebsd-ports-gnome-4fb46ad96c1bc994139b58250b1f0e8a17b25d3b.tar.gz freebsd-ports-gnome-4fb46ad96c1bc994139b58250b1f0e8a17b25d3b.tar.zst freebsd-ports-gnome-4fb46ad96c1bc994139b58250b1f0e8a17b25d3b.zip |
- Fix hack(1) running
PR: ports/64113
Submitted by: schweikh
Diffstat (limited to 'games/freebsd-games')
-rw-r--r-- | games/freebsd-games/files/patch-hack::hack.termcap.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/freebsd-games/files/patch-hack::hack.termcap.c b/games/freebsd-games/files/patch-hack::hack.termcap.c new file mode 100644 index 000000000000..de8fd532021c --- /dev/null +++ b/games/freebsd-games/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; + |