diff options
Diffstat (limited to 'games/bsdgames/files/patch-backgammon_backgammon_main.c')
-rw-r--r-- | games/bsdgames/files/patch-backgammon_backgammon_main.c | 29 |
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 */ |