Skip to content

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

Merged
kit-ty-kate merged 2 commits intoocaml:masterfrom
kit-ty-kate:gpatch-homebrew
Dec 17, 2024
Merged

Lookup at gpatch before patch on macOS now that both homebrew and macports expose gpatch as gpatch#6255
kit-ty-kate merged 2 commits intoocaml:masterfrom
kit-ty-kate:gpatch-homebrew

Conversation

@kit-ty-kate
Copy link
Copy Markdown
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
@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