From b6bb8c3d3a17625aa826094130b3d84530b6dae4 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Tue, 28 Apr 2009 21:27:54 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_7_2_0'. --- .../files/patch-backgammon_backgammon_main.c | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 games/bsdgames/files/patch-backgammon_backgammon_main.c (limited to 'games/bsdgames/files/patch-backgammon_backgammon_main.c') 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 */ -- cgit v1.2.3