| Summary: | app-misc/muttprint-0.73-r3 patch for perl 5.22 unescaped left brace in regex deprecated warning | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bob Johnson <bob> |
| Component: | Current packages | Assignee: | Chema Alonso Josa (RETIRED) <nimiux> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Fix perl 5.22 'left brace in regex deprecated' warnings | ||
Thanks for the report and patch. Will push it as soon as I can. Done: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b4bada329039b84af4b31a81378f8befdabf53 Right now I don't have the hardware to test it. Please test and reopen if necessary. app-misc/muttprint-0.73-r4 compiles, installs, and runs fine here without the warnings from -r3. Leave as RESOLVED->FIXED. Thanks! |
Created attachment 447234 [details, diff] Fix perl 5.22 'left brace in regex deprecated' warnings With the recent stabilization of perl 5.22, app-misc/muttprint-0.73-r3 now returns the following warnings when printing from mutt: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\newlabel{ <-- HERE LastPage}{{}{(\d+)}}/ at /usr/bin/muttprint line 1638. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\newlabel{LastPage}{ <-- HERE {}{(\d+)}}/ at /usr/bin/muttprint line 1638. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\newlabel{LastPage}{{ <-- HERE }{(\d+)}}/ at /usr/bin/muttprint line 1638. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\newlabel{LastPage}{{}{ <-- HERE (\d+)}}/ at /usr/bin/muttprint line 1638. These warnings will become errors in perl 5.26 apparently. The simple patch to resolve these warnings is attached.