8.70.2. Contents of Patch
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.
Update the auxilary scripts of the building system to allow building this package for LoongArch:
tar -C build-aux -xvf ../autoconf-2.72.tar.xz --strip-components=2 \ autoconf-2.72/build-aux/config.{guess,sub}
Prepare Patch for compilation:
./configure --prefix=/usr
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install