summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-backgammon_backgammon_main.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2009-04-28 21:27:54 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2009-04-28 21:27:54 +0000
commitb6bb8c3d3a17625aa826094130b3d84530b6dae4 (patch)
treef2de4a4d4b2f5c3fcbd1ee2ea6cce6d571bfb5f7 /games/bsdgames/files/patch-backgammon_backgammon_main.c
parent- Fix PLIST (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_2_0'.release/7.2.0
Diffstat (limited to 'games/bsdgames/files/patch-backgammon_backgammon_main.c')
-rw-r--r--games/bsdgames/files/patch-backgammon_backgammon_main.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/games/bsdgames/files/patch-backgammon_backgammon_main.c b/games/bsdgames/files/patch-backgammon_backgammon_main.c
deleted file mode 100644
index 840d4ba48057..000000000000
--- a/games/bsdgames/files/patch-backgammon_backgammon_main.c
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: backgammon/backgammon/main.c
-@@ -113,13 +111,13 @@
- signal (SIGINT,getout); /* trap interrupts */
- if (gtty (0,&tty) == -1) /* get old tty mode */
- errexit ("backgammon(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 */
-
- /* get terminal
- * capabilities, and
-@@ -135,8 +133,8 @@
- getarg (argc, argv);
- args[acnt] = NULL;
- if (tflag) { /* clear screen */
-- noech &= ~(CRMOD|XTABS);
-- raw &= ~(CRMOD|XTABS);
-+ noech &= ~(ICRNL|OXTABS);
-+ raw &= ~(ICRNL|OXTABS);
- clear();
- }
- fixtty (raw); /* go into raw mode */