Summary: | security/amavisd-new: Fix Perl 5.28 warning about unescaped brace | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mark.Martinec | ||||
Component: | Individual Port(s) | Assignee: | Florian Smeets <flo> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Keywords: | easy | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(flo) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: flo Date: Mon Jan 14 22:08:46 UTC 2019 New revision: 490317 URL: https://svnweb.freebsd.org/changeset/ports/490317 Log: Add a missing backslash-escape to left brace in a regexp Perl 5.28 introduced a warning about unescaped left brace in a regexp, resulting in a warning issued during amavisd startup: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ( { <-- HERE } (?: / \* )? | \* ) / at (eval 112) line 830. Currently the warning is harmless although annoying, but will become a fatal error with the next version of perl. PR: 234173 Submitted by: Mark.Martinec@ijs.si Changes: head/security/amavisd-new/Makefile head/security/amavisd-new/files/patch-amavisd Committed. Thanks. |
Created attachment 200278 [details] Add a missing backslash-escape to left brace in a regexp, fixes warning Perl 5.28 introduced a warning about unescaped left brace in a regexp, resulting in a warning issued during amavisd startup: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ( { <-- HERE } (?: / \* )? | \* ) / at (eval 112) line 830. Currently the warning is harmless although annoying, but will become a fatal error with the next version of perl. The attached patch adds the missing backslash-escape, please apply.