History log of /src/usr.bin/diff/
Revision Date Author Comments
1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.2 04-Dec-2025 wiz

diff(1): use Fl Fl for long options


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.2 19-Dec-2025 nia

diff(3): Match GNU diff behaviour for -q option.

-q option in GNU diff overrides all previously specified output
formats and simply exits early depending on whether the input files
contain differences.

In FreeBSD diff, combining -q with other output options results
in the program printing its usage.

Matching the GNU behaviour allows using unmodified old versions of the
pkgsrc mkpatches tool with this version of diff.


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.2 19-Dec-2025 nia

diff(3): Match GNU diff behaviour for -q option.

-q option in GNU diff overrides all previously specified output
formats and simply exits early depending on whether the input files
contain differences.

In FreeBSD diff, combining -q with other output options results
in the program printing its usage.

Matching the GNU behaviour allows using unmodified old versions of the
pkgsrc mkpatches tool with this version of diff.


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.2 19-Dec-2025 nia

diff(3): Match GNU diff behaviour for -q option.

-q option in GNU diff overrides all previously specified output
formats and simply exits early depending on whether the input files
contain differences.

In FreeBSD diff, combining -q with other output options results
in the program printing its usage.

Matching the GNU behaviour allows using unmodified old versions of the
pkgsrc mkpatches tool with this version of diff.


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


1.1 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils