[MacPorts] #69649: Avoid using /usr/bin/patch

MacPorts noreply at macports.org
Thu Apr 4 06:15:55 UTC 2024


#69649: Avoid using /usr/bin/patch
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.9.1
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by ryandesign):

 Hangs were observed in #66780, #66851, #66861, and #66954 due to incorrect
 `worksrcdir` (so they would have failed with the macOS ≤ 12 `patch`
 program too, just with a better error message). Ports having incorrect
 `worksrcdir` should decrease over time as they're found and fixed. If
 that's the only condition leading to a hang, and we can work around the
 automatic applying of a reversed patch by adding `-N` or `--forward`, then
 maybe we can tolerate continued use of /usr/bin/patch.

-- 
Ticket URL: <https://trac.macports.org/ticket/69649#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list