View | Details | Raw Unified | Return to bug 166650
Collapse All | Expand All

(-)mc/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	mc
8
PORTNAME=	mc
9
PORTVERSION=	4.7.5.6
9
PORTVERSION=	4.8.1.1
10
PORTREVISION=	0
10
PORTREVISION=	0
11
CATEGORIES=	misc shells
11
CATEGORIES=	misc shells
12
MASTER_SITES=	http://www.midnight-commander.org/downloads/ \
12
MASTER_SITES=	http://www.midnight-commander.org/downloads/ \
(-)mc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (mc-4.7.5.6.tar.xz) = 8fc20859eac824b062fb2862429579b75cdbfb8d9011f1a7793d516550af4ffd
1
SHA256 (mc-4.8.1.1.tar.xz) = 94d307bfd979ed62bdf14f2bab8ca97327526bdd27a9d4bc5c810889e89e85e2
2
SIZE (mc-4.7.5.6.tar.xz) = 1995148
2
SIZE (mc-4.8.1.1.tar.xz) = 2012644
(-)mc/files/patch-lib-tty-win.c (-8 / +8 lines)
Lines 1-20 Link Here
1
--- lib/tty/win.c.orig	2011-12-02 18:59:45.000000000 +0700
1
--- lib/tty/win.c.old	2012-04-05 02:20:57.000000000 +0900
2
+++ lib/tty/win.c	2011-12-02 19:00:11.000000000 +0700
2
+++ lib/tty/win.c	2012-04-05 02:24:53.000000000 +0900
3
@@ -98,7 +98,7 @@
3
@@ -96,7 +96,7 @@
4
 void
4
 void
5
 do_enter_ca_mode (void)
5
 do_enter_ca_mode (void)
6
 {
6
 {
7
-    if (xterm_flag && smcup != NULL)
7
-    if (mc_global.tty.xterm_flag && smcup != NULL)
8
+    if (xterm_flag)
8
+    if (mc_global.tty.xterm_flag)
9
     {
9
     {
10
         fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h");
10
         fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h");
11
         fflush (stdout);
11
         fflush (stdout);
12
@@ -110,7 +110,7 @@
12
@@ -108,7 +108,7 @@
13
 void
13
 void
14
 do_exit_ca_mode (void)
14
 do_exit_ca_mode (void)
15
 {
15
 {
16
-    if (xterm_flag && rmcup != NULL)
16
-    if (mc_global.tty.xterm_flag && rmcup != NULL)
17
+    if (xterm_flag)
17
+    if (mc_global.tty.xterm_flag)
18
     {
18
     {
19
         fprintf (stdout, ESC_STR "[?47l" ESC_STR "8" ESC_STR "[m");
19
         fprintf (stdout, ESC_STR "[?47l" ESC_STR "8" ESC_STR "[m");
20
         fflush (stdout);
20
         fflush (stdout);

Return to bug 166650