diff options
author | pi <pi@FreeBSD.org> | 2014-12-09 23:58:50 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2014-12-09 23:58:50 +0800 |
commit | 17d28a2bdda0661330f991745e15ed0ba1716df7 (patch) | |
tree | 9ed2051fe030660b8b4b31ca18a477db76266e6a /misc | |
parent | 6dbd7580f95d8a9741fb314aacf4a899812e2673 (diff) | |
download | freebsd-ports-gnome-17d28a2bdda0661330f991745e15ed0ba1716df7.tar.gz freebsd-ports-gnome-17d28a2bdda0661330f991745e15ed0ba1716df7.tar.zst freebsd-ports-gnome-17d28a2bdda0661330f991745e15ed0ba1716df7.zip |
misc/mc: really re-add small patch that was deleted in r369133
Thanks to tijl: patch syntax was bogus and was ignored.
PR: 194627
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mc/Makefile | 2 | ||||
-rw-r--r-- | misc/mc/files/patch-lib__tty__win.c | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index e7b45738ac4c..04a3db851b7e 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -3,7 +3,7 @@ PORTNAME= mc PORTVERSION= 4.8.13 -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-lib__tty__win.c b/misc/mc/files/patch-lib__tty__win.c index 4e497178418b..7892aa154629 100644 --- a/misc/mc/files/patch-lib__tty__win.c +++ b/misc/mc/files/patch-lib__tty__win.c @@ -1,14 +1,14 @@ --- lib/tty/win.c.orig 2014-09-02 09:23:58 UTC +++ lib/tty/win.c -+@@ -95,7 +95,7 @@ -+ void -+ do_enter_ca_mode (void) -+ { -+- if (mc_global.tty.xterm_flag && smcup != NULL) -++ if (mc_global.tty.xterm_flag) -+ { -+ fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h"); -+ fflush (stdout); +@@ -95,7 +95,7 @@ + void + do_enter_ca_mode (void) + { +- if (mc_global.tty.xterm_flag && smcup != NULL) ++ if (mc_global.tty.xterm_flag) + { + fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h"); + fflush (stdout); @@ -107,7 +107,7 @@ void do_exit_ca_mode (void) |