Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56075 closed defect (fixed)

muttprint @0.72d_5: perl 5.26 incompatibility

Reported by: lukeodom Owned by: ken-cunningham-webuse
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: muttprint

Description

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 attached.

Attachments (1)

muttprintfix.patch (417 bytes) - added by lukeodom 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by lukeodom

Attachment: muttprintfix.patch added

comment:1 Changed 6 years ago by kencu (Ken)

PR being tested by the CI system <https://github.com/macports/macports-ports/pull/1430>

comment:2 Changed 6 years ago by ken-cunningham-webuse

Owner: set to ken-cunningham-webuse
Resolution: fixed
Status: newclosed

In 5aec5c563b5dc29ab00d63a756ccb7bddb623f76/macports-ports:

muttprint: fix perl 5.26 compatibility

by escaping braces
closes: #56075

comment:3 Changed 6 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.4.3
Note: See TracTickets for help on using tickets.