aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-12 18:10:22 +0800
committerkrion <krion@FreeBSD.org>2004-03-12 18:10:22 +0800
commit4fb46ad96c1bc994139b58250b1f0e8a17b25d3b (patch)
tree4192bc5f6e73696b357a7e3fc3fe9ff4fee9dd26 /games
parentf8c4f6beabdc19783ce2961d8a38c0f01e711e27 (diff)
downloadfreebsd-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')
-rw-r--r--games/bsdgames/files/patch-hack::hack.termcap.c13
-rw-r--r--games/freebsd-games/files/patch-hack::hack.termcap.c13
2 files changed, 26 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;
+
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;
+