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

(-)misc/mc/Makefile (-3 / +2 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	mc
8
PORTNAME=	mc
9
PORTVERSION=	4.7.4
9
PORTVERSION=	4.7.5
10
PORTREVISION=	3
11
CATEGORIES=	misc shells
10
CATEGORIES=	misc shells
12
MASTER_SITES=	http://www.midnight-commander.org/downloads/ \
11
MASTER_SITES=	http://www.midnight-commander.org/downloads/ \
13
		${MASTER_SITE_SUNSITE}
12
		${MASTER_SITE_SUNSITE}
Lines 66-72 Link Here
66
_MANLANG=	es hu it pl ru sr
65
_MANLANG=	es hu it pl ru sr
67
.endif
66
.endif
68
67
69
.if !defined(WITH_X11) || defined(MINIMAL)
68
.if !defined(WITH_X11) && (defined(WITHOUT_X11) || defined(MINIMAL))
70
CONFIGURE_ARGS+=--without-x
69
CONFIGURE_ARGS+=--without-x
71
.else
70
.else
72
USE_XORG=	x11 xext
71
USE_XORG=	x11 xext
(-)misc/mc/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (mc-4.7.4.tar.lzma) = 9932eaef64b7501c01f06faa888e8998
1
SHA256 (mc-4.7.5.tar.lzma) = 5e5893e9484e4854a29fa422834e79c9ef007c1672136331ef28bdddbfc1c457
2
SHA256 (mc-4.7.4.tar.lzma) = 41140edb4effbfd5a86d241acd7a76a21c8ba26db99eab7b07a1ff69169dabf4
2
SIZE (mc-4.7.5.tar.lzma) = 1922463
3
SIZE (mc-4.7.4.tar.lzma) = 2070397
(-)misc/mc/pkg-plist (-25 / +29 lines)
Lines 1-19 Link Here
1
bin/mc
1
bin/mc
2
bin/mcdiff
2
bin/mcdiff
3
%%EDITOR%%bin/mcedit
3
%%EDITOR%%bin/mcedit
4
bin/mcmfmt
5
bin/mcview
4
bin/mcview
6
%%EDITOR%%etc/mc/Syntax
7
etc/mc/cedit.menu
5
etc/mc/cedit.menu
8
%%EDITOR%%etc/mc/edit.indent.rc
6
%%EDITOR%%etc/mc/edit.indent.rc
9
%%EDITOR%%etc/mc/edit.spell.rc
7
%%EDITOR%%etc/mc/edit.spell.rc
10
etc/mc/filehighlight.ini
8
etc/mc/filehighlight.ini
11
%%CHARSETS%%etc/mc/mc.charsets
12
etc/mc/mc.ext
9
etc/mc/mc.ext
13
etc/mc/mc.keymap
10
etc/mc/mc.keymap
14
etc/mc/mc.keymap.default
11
etc/mc/mc.keymap.default
15
etc/mc/mc.keymap.emacs
12
etc/mc/mc.keymap.emacs
16
etc/mc/mc.lib
17
etc/mc/mc.menu
13
etc/mc/mc.menu
18
etc/mc/mc.menu.sr
14
etc/mc/mc.menu.sr
19
etc/mc/sfs.ini
15
etc/mc/sfs.ini
Lines 70-76 Link Here
70
libexec/mc/mc.sh
66
libexec/mc/mc.sh
71
%%NLS%%share/locale/az/LC_MESSAGES/mc.mo
67
%%NLS%%share/locale/az/LC_MESSAGES/mc.mo
72
%%NLS%%share/locale/be/LC_MESSAGES/mc.mo
68
%%NLS%%share/locale/be/LC_MESSAGES/mc.mo
73
%%NLS%%share/locale/be@tarask/LC_MESSAGES/mc.mo
74
%%NLS%%share/locale/bg/LC_MESSAGES/mc.mo
69
%%NLS%%share/locale/bg/LC_MESSAGES/mc.mo
75
%%NLS%%share/locale/ca/LC_MESSAGES/mc.mo
70
%%NLS%%share/locale/ca/LC_MESSAGES/mc.mo
76
%%NLS%%share/locale/cs/LC_MESSAGES/mc.mo
71
%%NLS%%share/locale/cs/LC_MESSAGES/mc.mo
Lines 80-90 Link Here
80
%%NLS%%share/locale/es/LC_MESSAGES/mc.mo
75
%%NLS%%share/locale/es/LC_MESSAGES/mc.mo
81
%%NLS%%share/locale/eu/LC_MESSAGES/mc.mo
76
%%NLS%%share/locale/eu/LC_MESSAGES/mc.mo
82
%%NLS%%share/locale/fi/LC_MESSAGES/mc.mo
77
%%NLS%%share/locale/fi/LC_MESSAGES/mc.mo
78
%%NLS%%share/locale/fi_FI/LC_MESSAGES/mc.mo
83
%%NLS%%share/locale/fr/LC_MESSAGES/mc.mo
79
%%NLS%%share/locale/fr/LC_MESSAGES/mc.mo
84
%%NLS%%share/locale/gl/LC_MESSAGES/mc.mo
80
%%NLS%%share/locale/gl/LC_MESSAGES/mc.mo
85
%%NLS%%share/locale/hu/LC_MESSAGES/mc.mo
81
%%NLS%%share/locale/hu/LC_MESSAGES/mc.mo
82
%%NLS%%share/locale/id/LC_MESSAGES/mc.mo
86
%%NLS%%share/locale/it/LC_MESSAGES/mc.mo
83
%%NLS%%share/locale/it/LC_MESSAGES/mc.mo
87
%%NLS%%share/locale/ja/LC_MESSAGES/mc.mo
84
%%NLS%%share/locale/ja/LC_MESSAGES/mc.mo
85
%%NLS%%share/locale/ka/LC_MESSAGES/mc.mo
88
%%NLS%%share/locale/ko/LC_MESSAGES/mc.mo
86
%%NLS%%share/locale/ko/LC_MESSAGES/mc.mo
89
%%NLS%%share/locale/lt/LC_MESSAGES/mc.mo
87
%%NLS%%share/locale/lt/LC_MESSAGES/mc.mo
90
%%NLS%%share/locale/lv/LC_MESSAGES/mc.mo
88
%%NLS%%share/locale/lv/LC_MESSAGES/mc.mo
Lines 107-130 Link Here
107
%%NLS%%share/locale/wa/LC_MESSAGES/mc.mo
105
%%NLS%%share/locale/wa/LC_MESSAGES/mc.mo
108
%%NLS%%share/locale/zh_CN/LC_MESSAGES/mc.mo
106
%%NLS%%share/locale/zh_CN/LC_MESSAGES/mc.mo
109
%%NLS%%share/locale/zh_TW/LC_MESSAGES/mc.mo
107
%%NLS%%share/locale/zh_TW/LC_MESSAGES/mc.mo
110
%%DATADIR%%/mc.hint
108
%%DATADIR%%/help/mc.hlp
111
%%NLS%%%%DATADIR%%/mc.hint.cs
109
%%NLS%%%%DATADIR%%/help/mc.hlp.es
112
%%NLS%%%%DATADIR%%/mc.hint.es
110
%%NLS%%%%DATADIR%%/help/mc.hlp.hu
113
%%NLS%%%%DATADIR%%/mc.hint.hu
111
%%NLS%%%%DATADIR%%/help/mc.hlp.it
114
%%NLS%%%%DATADIR%%/mc.hint.it
112
%%NLS%%%%DATADIR%%/help/mc.hlp.pl
115
%%NLS%%%%DATADIR%%/mc.hint.nl
113
%%NLS%%%%DATADIR%%/help/mc.hlp.ru
116
%%NLS%%%%DATADIR%%/mc.hint.pl
114
%%NLS%%%%DATADIR%%/help/mc.hlp.sr
117
%%NLS%%%%DATADIR%%/mc.hint.ru
115
%%DATADIR%%/hints/mc.hint
118
%%NLS%%%%DATADIR%%/mc.hint.sr
116
%%NLS%%%%DATADIR%%/hints/mc.hint.cs
119
%%NLS%%%%DATADIR%%/mc.hint.uk
117
%%NLS%%%%DATADIR%%/hints/mc.hint.es
120
%%NLS%%%%DATADIR%%/mc.hint.zh
118
%%NLS%%%%DATADIR%%/hints/mc.hint.hu
121
%%DATADIR%%/mc.hlp
119
%%NLS%%%%DATADIR%%/hints/mc.hint.it
122
%%NLS%%%%DATADIR%%/mc.hlp.es
120
%%NLS%%%%DATADIR%%/hints/mc.hint.nl
123
%%NLS%%%%DATADIR%%/mc.hlp.hu
121
%%NLS%%%%DATADIR%%/hints/mc.hint.pl
124
%%NLS%%%%DATADIR%%/mc.hlp.it
122
%%NLS%%%%DATADIR%%/hints/mc.hint.ru
125
%%NLS%%%%DATADIR%%/mc.hlp.pl
123
%%NLS%%%%DATADIR%%/hints/mc.hint.sr
126
%%NLS%%%%DATADIR%%/mc.hlp.ru
124
%%NLS%%%%DATADIR%%/hints/mc.hint.uk
127
%%NLS%%%%DATADIR%%/mc.hlp.sr
125
%%NLS%%%%DATADIR%%/hints/mc.hint.zh
126
%%CHARSETS%%%%DATADIR%%/mc.charsets
127
%%DATADIR%%/mc.lib
128
%%DATADIR%%/skins/darkfar.ini
128
%%DATADIR%%/skins/darkfar.ini
129
%%DATADIR%%/skins/default.ini
129
%%DATADIR%%/skins/default.ini
130
%%DATADIR%%/skins/double-lines.ini
130
%%DATADIR%%/skins/double-lines.ini
Lines 132-137 Link Here
132
%%DATADIR%%/skins/gotar.ini
132
%%DATADIR%%/skins/gotar.ini
133
%%DATADIR%%/skins/nicedark.ini
133
%%DATADIR%%/skins/nicedark.ini
134
%%EDITOR%%%%DATADIR%%/syntax/PKGBUILD.syntax
134
%%EDITOR%%%%DATADIR%%/syntax/PKGBUILD.syntax
135
%%EDITOR%%%%DATADIR%%/syntax/Syntax
135
%%EDITOR%%%%DATADIR%%/syntax/ada95.syntax
136
%%EDITOR%%%%DATADIR%%/syntax/ada95.syntax
136
%%EDITOR%%%%DATADIR%%/syntax/aspx.syntax
137
%%EDITOR%%%%DATADIR%%/syntax/aspx.syntax
137
%%EDITOR%%%%DATADIR%%/syntax/assembler.syntax
138
%%EDITOR%%%%DATADIR%%/syntax/assembler.syntax
Lines 142-147 Link Here
142
%%EDITOR%%%%DATADIR%%/syntax/cs.syntax
143
%%EDITOR%%%%DATADIR%%/syntax/cs.syntax
143
%%EDITOR%%%%DATADIR%%/syntax/css.syntax
144
%%EDITOR%%%%DATADIR%%/syntax/css.syntax
144
%%EDITOR%%%%DATADIR%%/syntax/cxx.syntax
145
%%EDITOR%%%%DATADIR%%/syntax/cxx.syntax
146
%%EDITOR%%%%DATADIR%%/syntax/cython.syntax
145
%%EDITOR%%%%DATADIR%%/syntax/d.syntax
147
%%EDITOR%%%%DATADIR%%/syntax/d.syntax
146
%%EDITOR%%%%DATADIR%%/syntax/debian-changelog.syntax
148
%%EDITOR%%%%DATADIR%%/syntax/debian-changelog.syntax
147
%%EDITOR%%%%DATADIR%%/syntax/debian-control.syntax
149
%%EDITOR%%%%DATADIR%%/syntax/debian-control.syntax
Lines 202-210 Link Here
202
%%EDITOR%%%%DATADIR%%/syntax/yxx.syntax
204
%%EDITOR%%%%DATADIR%%/syntax/yxx.syntax
203
%%EDITOR%%@dirrm %%DATADIR%%/syntax
205
%%EDITOR%%@dirrm %%DATADIR%%/syntax
204
@dirrm %%DATADIR%%/skins
206
@dirrm %%DATADIR%%/skins
207
@dirrm %%DATADIR%%/hints
208
@dirrm %%DATADIR%%/help
205
@dirrm %%DATADIR%%
209
@dirrm %%DATADIR%%
206
%%NLS%%@dirrm share/locale/be@tarask/LC_MESSAGES
210
%%NLS%%@dirrm share/locale/fi_FI/LC_MESSAGES
207
%%NLS%%@dirrm share/locale/be@tarask
211
%%NLS%%@dirrm share/locale/fi_FI
208
@dirrm libexec/mc/fish
212
@dirrm libexec/mc/fish
209
@dirrm libexec/mc/extfs.d
213
@dirrm libexec/mc/extfs.d
210
@dirrm libexec/mc
214
@dirrm libexec/mc
(-)misc/mc/files/patch-src-dialog.c (-58 lines)
Removed Link Here
1
--- src/dialog.c.orig	2010-10-20 20:19:09.000000000 +0700
2
+++ src/dialog.c	2010-10-20 20:23:32.000000000 +0700
3
@@ -110,6 +110,9 @@
4
 {
5
     int space;
6
 
7
+    if (h->state != DLG_ACTIVE)
8
+        return;
9
+
10
     space = (h->flags & DLG_COMPACT) ? 0 : 1;
11
 
12
     tty_setcolor (DLG_NORMALC (h));
13
@@ -317,7 +320,7 @@
14
 void
15
 dlg_erase (Dlg_head * h)
16
 {
17
-    if (h != NULL)
18
+    if (h != NULL && h->state == DLG_ACTIVE)
19
         tty_fill_region (h->y, h->x, h->lines, h->cols, ' ');
20
 }
21
 
22
@@ -458,7 +461,7 @@
23
 {
24
     /* cannot focus disabled widget ... */
25
 
26
-    if (h->current != NULL)
27
+    if (h->current != NULL && h->state == DLG_ACTIVE)
28
     {
29
         Widget *current = (Widget *) h->current->data;
30
 
31
@@ -478,7 +481,7 @@
32
 {
33
     /* ... but can unfocus disabled widget */
34
 
35
-    if (h->current != NULL)
36
+    if (h->current != NULL && h->state == DLG_ACTIVE)
37
     {
38
         Widget *current = (Widget *) h->current->data;
39
 
40
@@ -649,7 +652,7 @@
41
 {
42
     GList *p = h->current;
43
 
44
-    if (p != NULL)
45
+    if (p != NULL && h->state == DLG_ACTIVE)
46
     {
47
         Widget *w;
48
 
49
@@ -683,6 +686,9 @@
50
 void
51
 dlg_redraw (Dlg_head * h)
52
 {
53
+    if (h->state != DLG_ACTIVE)
54
+        return;
55
+
56
     if (h->winch_pending)
57
     {
58
         h->winch_pending = FALSE;

Return to bug 154154