gpatch

Install command:
brew install gpatch

Apply a diff file to an original

https://savannah.gnu.org/projects/patch/

License: GPL-3.0-or-later

Formula JSON API: /api/formula/gpatch.json

Formula code: gpatch.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
Intel sonoma
ventura
64-bit linux

Current versions:

stable 2.7.6
GNU "patch" has been installed as "gpatch".
If you need to use it as "patch", you can add a "gnubin" directory
to your PATH from your bashrc like:

     PATH="$HOMEBREW_PREFIX/opt/gpatch/libexec/gnubin:$PATH"

Analytics:

Installs (30 days)
gpatch 1,413
Installs on Request (30 days)
gpatch 316
Build Errors (30 days)
gpatch 0
Installs (90 days)
gpatch 3,807
gpatch --HEAD 2
Installs on Request (90 days)
gpatch 899
gpatch --HEAD 2
Installs (365 days)
gpatch 13,981
gpatch --HEAD 4
Installs on Request (365 days)
gpatch 3,486
gpatch --HEAD 4
Fork me on GitHub