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

Development: Pull requests

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

Formula code: gpatch.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
macOS on
Intel
sonoma ✅
ventura ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.8

Binaries: gpatch

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:

30 days90 days365 days
Installs3771,4077,713
Installs (--HEAD)004
Installs on Request1797714,450
Installs on Request (--HEAD)004
Build Errors0