10.85.2. Contents of Diffutils
Installed programs:
cmp, diff, diff3, sdiff
The Diffutils package contains programs that show the differences between files or directories.
Fix a bug that prevents locale files from being installed:
sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
Prepare Diffutils for compilation:
CC="gcc ${BUILD64}" ./configure --prefix=/usr
Diffutils wants ed as the default editor for sdiff. The following sed will change the default to vi:
sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install