diff options
author | woodsb02 <woodsb02@FreeBSD.org> | 2017-07-23 23:26:36 +0800 |
---|---|---|
committer | woodsb02 <woodsb02@FreeBSD.org> | 2017-07-23 23:26:36 +0800 |
commit | 32d4e960a8523a47b254c8a5003c6f64a342ecc6 (patch) | |
tree | 151d217ad38003e875bc33e01a9f8b0459d38a3f /misc | |
parent | 55e1df6fa6d38ede258659b95d2d1393101d3010 (diff) | |
download | freebsd-ports-gnome-32d4e960a8523a47b254c8a5003c6f64a342ecc6.tar.gz freebsd-ports-gnome-32d4e960a8523a47b254c8a5003c6f64a342ecc6.tar.zst freebsd-ports-gnome-32d4e960a8523a47b254c8a5003c6f64a342ecc6.zip |
misc/mc: Fix invalid tty baudrate detection disabling verbose mode
PR: 220944
Submitted by: Michael Büker <m.bueker@berlin.de>
Obtained from: https://midnight-commander.org/ticket/2452#comment:15
MFH: 2017Q3
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mc/Makefile | 2 | ||||
-rw-r--r-- | misc/mc/files/patch-src_filemanager_midnight.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 2c1cbe9d313d..6e93893b18a6 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -3,7 +3,7 @@ PORTNAME= mc PORTVERSION= 4.8.19 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc shells MASTER_SITES= http://ftp.midnight-commander.org/ \ http://ftp.osuosl.org/pub/midnightcommander/ diff --git a/misc/mc/files/patch-src_filemanager_midnight.c b/misc/mc/files/patch-src_filemanager_midnight.c new file mode 100644 index 000000000000..6c9946b16e96 --- /dev/null +++ b/misc/mc/files/patch-src_filemanager_midnight.c @@ -0,0 +1,11 @@ +--- src/filemanager/midnight.c.orig 2017-03-04 17:51:38 UTC ++++ src/filemanager/midnight.c +@@ -879,7 +879,7 @@ setup_mc (void) + add_select_channel (mc_global.tty.subshell_pty, load_prompt, 0); + #endif /* !ENABLE_SUBSHELL */ + +- if ((tty_baudrate () < 9600) || mc_global.tty.slow_terminal) ++ if ((tty_baudrate () > 0 && tty_baudrate () < 9600) || mc_global.tty.slow_terminal) + verbose = FALSE; + } + |