summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-backgammon_teachgammon_teach.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdgames/files/patch-backgammon_teachgammon_teach.c')
-rw-r--r--games/bsdgames/files/patch-backgammon_teachgammon_teach.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/games/bsdgames/files/patch-backgammon_teachgammon_teach.c b/games/bsdgames/files/patch-backgammon_teachgammon_teach.c
deleted file mode 100644
index 8b1ae587e9e8..000000000000
--- a/games/bsdgames/files/patch-backgammon_teachgammon_teach.c
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: backgammon/teachgammon/teach.c
-@@ -94,18 +92,18 @@
- signal (SIGINT,getout);
- if (gtty (0,&tty) == -1) /* get old tty mode */
- errexit ("teachgammon(gtty)");
-- old = tty.sg_flags;
-+ old = tty.c_lflag;
- #ifdef V7
-- raw = ((noech = old & ~ECHO) | CBREAK); /* set up modes */
-+ raw = ((noech = old & ~ECHO) & ~ICANON); /* set up modes */
- #else
- raw = ((noech = old & ~ECHO) | RAW); /* set up modes */
- #endif
-- ospeed = tty.sg_ospeed; /* for termlib */
-+ ospeed = cfgetospeed(&tty); /* for termlib */
- tflag = getcaps (getenv ("TERM"));
- getarg (argc, argv);
- if (tflag) {
-- noech &= ~(CRMOD|XTABS);
-- raw &= ~(CRMOD|XTABS);
-+ noech &= ~(ICRNL|OXTABS);
-+ raw &= ~(ICRNL|OXTABS);
- clear();
- }
- text (hello);