Installed
program: patch
The Patch package contains a program for modifying or creating files by applying a “patch” file typically created by the diff program.
Configure would like to hardcode the full path to ed. When ed isn't found it falls back on just "ed". Since ed isn't installed by default but it may be installed on the host, Lets force the fallback value.
echo "ac_cv_path_ed_PROGRAM=ed" > config.cache
Prepare Patch for compilation:
./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--prefix=/usr --cache-file=config.cache
Compile the package:
make
Install the package:
make prefix=${CLFS}/usr install