diff options
author | pav <pav@FreeBSD.org> | 2008-05-07 05:49:59 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-05-07 05:49:59 +0800 |
commit | 23bccd3da75956cd678e69b6d29e0a023c3c3b1c (patch) | |
tree | 2ae19936ada75e8f1371869e9935b934cefed0e7 /chinese | |
parent | 251a21e2a1ca0a7f4c68d89f17ba028a14b7d76b (diff) | |
download | freebsd-ports-gnome-23bccd3da75956cd678e69b6d29e0a023c3c3b1c.tar.gz freebsd-ports-gnome-23bccd3da75956cd678e69b6d29e0a023c3c3b1c.tar.zst freebsd-ports-gnome-23bccd3da75956cd678e69b6d29e0a023c3c3b1c.zip |
- Unbreak build after tty changes
Submitted by: Ed Schouten <ed@80386.nl>
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/ve/files/patch-term.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chinese/ve/files/patch-term.c b/chinese/ve/files/patch-term.c index 7d915c6dfb45..29f3a625f47a 100644 --- a/chinese/ve/files/patch-term.c +++ b/chinese/ve/files/patch-term.c @@ -41,8 +41,7 @@ - - tty_new.c_lflag &= ~(ICANON | ECHO | RAW | ISIG); - tcsetattr(1, TCSANOW, &tty_new); -+ tty_new.c_lflag &= ~(ICANON | ECHO | ISIG); - restore_tty(); +- restore_tty(); - -#else - @@ -54,7 +53,8 @@ - tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); -#endif - -- stty(1, &tty_new); ++ tty_new.c_lflag &= ~(ICANON | ECHO | ISIG); + stty(1, &tty_new); -#endif } |