Dear maintainer, To my best understanding, comparing two files in mc requires the availability of GNU diff, since some specific options () are hard coded; the following diffs add gdiff(1) as run dependency and change the executable name in ydiff.c
[....................snip....................] --- /usr/ports/misc/mc/Makefile Wed Jun 3 08:37:36 2015 +++ ./Makefile Sat Nov 21 23:46:19 2015 @@ -26,7 +26,8 @@ devel/libslang RUN_DEPENDS= archivers/unzip \ archivers/zip \ - security/libssh2 + security/libssh2 \ + textproc/gdiff CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --with-subshell \ [....................snip....................] [....................snip....................] $OpenBSD$ --- src/diffviewer/ydiff.c.orig Fri Mar 20 19:06:04 2015 +++ src/diffviewer/ydiff.c Sat Nov 21 23:47:04 2015 @@ -821,7 +821,7 @@ dff_execute (const char *args, const char *extra, cons /* escape potential $ to avoid shell variable substitutions in popen() */ file1_esc = strutils_shell_escape (file1); file2_esc = strutils_shell_escape (file2); - cmd = g_strdup_printf ("diff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc); + cmd = g_strdup_printf ("gdiff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc); g_free (file1_esc); g_free (file2_esc); [....................snip....................] All the best -- Alessandro DE LAURENZIS [mailto:just22....@gmail.com] LinkedIn: http://it.linkedin.com/in/delaurenzis