From owner-freebsd-ports@FreeBSD.ORG Fri Mar 27 16:30:16 2015 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3598D978 for ; Fri, 27 Mar 2015 16:30:16 +0000 (UTC) Received: from o-server.protys.cz (o-server.protys.cz [90.183.113.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF5F8E01 for ; Fri, 27 Mar 2015 16:30:15 +0000 (UTC) Received: from JIRKA (jirka.protys.cz [90.183.113.101]) by o-server.protys.cz (Postfix) with ESMTP id D95D316A448; Fri, 27 Mar 2015 17:20:17 +0100 (CET) Reply-To: From: "Jiri Lazansky" To: Subject: FreeBSD Port: mc-4.8.14 Date: Fri, 27 Mar 2015 17:20:15 +0100 Organization: ProTyS, a.s. Message-ID: <002601d068a9$e89ed730$b9dc8590$@protys.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdBoph4rSKX/DwttQtC2fpvGRakJsA== Content-Language: cs Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 16:30:16 -0000 Dear maintainer: I tried to upgrade well working mc-4.8.13_3 to mc-4.8.14 on FreeBSD 9.3 = (AMD64) with subshell using the port misc/mc. My shell is 'bash'. The result was: 1. Very long start-up time 2. Subshell not working (has not read ~/.bashrc). Following patch resolved the situation: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D --- src/subshell.c.orig +++ src/subshell.c @@ -874,8 +874,7 @@ { case BASH: g_snprintf (precmd, sizeof (precmd), - " = PROMPT_COMMAND=3D${PROMPT_COMMAND:+$PROMPT_COMMAND; }'pwd>&%d;kill -STOP = $$'\n", - subshell_pipe[WRITE]); + " PROMPT_COMMAND=3D'pwd>&%d;kill -STOP $$'\n", = subshell_pipe[WRITE]); break; case ZSH: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D The output of 'mc -V' is GNU Midnight Commander 4.8.14 Built with GLib 2.42.2 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, = smbfs Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: = 64; Please analyse the reasons and try to update the port. Best regards Jiri Lazansky