[MacPorts] #56075: muttprint @0.72d_5: perl 5.26 incompatibility

MacPorts noreply at macports.org
Fri Mar 16 15:51:22 UTC 2018

#56075: muttprint @0.72d_5: perl 5.26 incompatibility
 Reporter:  lukeodom  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:  MacPorts 2.4.3
Component:  ports     |    Version:  2.4.2
 Keywords:            |       Port:  muttprint
 As of perl5.26 {} needs to be escaped in regex. This is causing muttprint
 to fail out with following error:

 Unescaped left brace in regex is illegal here in regex; marked by <-- HERE
 in m/\\newlabel{ <-- HERE LastPage}{{}{(\d+)}}/ at
 /opt/local/bin/muttprint line 1642.

 If you add escapes to all brackets, it appears to work fine. Patch

Ticket URL: <https://trac.macports.org/ticket/56075>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list