--- misc/mc/Makefile (revision 383559) +++ misc/mc/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= mc PORTVERSION= 4.8.14 +PORTREVISION= 1 CATEGORIES= misc shells MASTER_SITES= http://ftp.midnight-commander.org/ \ http://ftp.osuosl.org/pub/midnightcommander/ \ --- misc/mc/files/patch-lib_utilunix.c (revision 0) +++ misc/mc/files/patch-lib_utilunix.c (working copy) @@ -0,0 +1,11 @@ +--- lib/utilunix.c.orig 2015-04-12 03:04:27 UTC ++++ lib/utilunix.c +@@ -528,7 +528,7 @@ mc_popen (const char *command, GError ** + goto ret_err; + } + +- if (!g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, ++ if (!g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, + &p->child_pid, NULL, &p->out.fd, &p->err.fd, error)) + { + mc_replace_error (error, MC_PIPE_ERROR_CREATE_PIPE_STREAM, "%s",