[MacPorts] #65696: dzip @2.9 Error: Failed to patch dzip: command execution failed

MacPorts noreply at macports.org
Sat Aug 20 14:15:59 UTC 2022


#65696: dzip @2.9 Error: Failed to patch dzip: command execution failed
---------------------+--------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.7.2
Resolution:          |   Keywords:
      Port:  dzip    |
---------------------+--------------------

Comment (by ryandesign):

 It's not terribly strange; all of the text files in dzip's source archive
 simply ship with DOS line endings. The CR part of DOS line endings will
 show up in some tools as `¿` or `^M`. In many of my ports when I want to
 patch a file that has DOS line endings I have the Portfile convert the
 line endings to Unix first. For example:
 {{{
 post-extract {
     # Convert DOS to UNIX line endings so we can patch
     reinplace "s|\r||g" ${worksrcpath}/Makefile.linux
 }
 }}}
 The patchfile will then need to be adjusted accordingly.

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


More information about the macports-tickets mailing list