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

(-)misc/mc/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mc
4
PORTNAME=	mc
5
PORTVERSION=	4.8.16
5
PORTVERSION=	4.8.16
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	misc shells
7
CATEGORIES=	misc shells
8
MASTER_SITES=	http://ftp.midnight-commander.org/ \
8
MASTER_SITES=	http://ftp.midnight-commander.org/ \
9
		http://ftp.osuosl.org/pub/midnightcommander/ \
9
		http://ftp.osuosl.org/pub/midnightcommander/ \
(-)misc/mc/files/patch-upstreamticket2742-detect-csh-as-tcsh-by-name.patch (+15 lines)
Line 0 Link Here
1
--- lib/shell.c.orig
2
+++ lib/shell.c
3
@@ -162,6 +162,12 @@ mc_shell_recognize_and_fill_type (mc_shell_t * mc_shell)
4
         mc_shell->type = SHELL_TCSH;
5
         mc_shell->name = "tcsh";
6
     }
7
+    else if (strstr (mc_shell->path, "/csh") != NULL
8
+             || strstr (mc_shell->real_path, "/csh") != NULL)
9
+    {
10
+        mc_shell->type = SHELL_TCSH;
11
+        mc_shell->name = "csh";
12
+    }
13
     else if (strstr (mc_shell->path, "/fish") != NULL
14
              || strstr (mc_shell->real_path, "/fish") != NULL)
15
     {

Return to bug 208102