macOS / binaries /

patch

/usr/bin/patch
Apply a diff file to an original

patch will take a patch file containing any of the four forms of difference listing produced by the diff program and apply those differences to an original file, producing a patched version.

source: man