Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup at gpatch before patch on macOS now that both homebrew and macports expose gpatch as gpatch #6255

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

kit-ty-kate
Copy link
Member

@kit-ty-kate kit-ty-kate commented Oct 22, 2024

Homebrew changed behaviour in Homebrew/homebrew-core#174687

This is only an optimization (avoids the (probably) unnecessary patch --version), this doesn't change the general behaviour at all.
EDIT: actually nevermind, this changes the behaviour in case, neither patch or gpatch are available and GNU patch. In that case, it would default to use patch, but now it will use gpatch by default. Which means that if someone hasn't installed gpatch, previously it would show a warning and used patch anyway, but now it will show a warning and fail to execute gpatch.

@kit-ty-kate kit-ty-kate merged commit 68f993d into ocaml:master Dec 17, 2024
42 checks passed
@kit-ty-kate kit-ty-kate deleted the gpatch-homebrew branch December 17, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants