summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-backgammon_teachgammon_teach.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
commitcc415305a049ca523f2a8cf674009fa77c54fee6 (patch)
tree6cf30da0266c6ffa712f243cc23f3c1b5c4a4fb8 /games/bsdgames/files/patch-backgammon_teachgammon_teach.c
parent- Now fix to use this port on !i386. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_0_0'.release/8.0.0
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);