[Bug 234173] security/amavisd-new: fix warning with perl 5.28 about unescaped brace

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 19 18:33:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234173

            Bug ID: 234173
           Summary: security/amavisd-new: fix warning with perl 5.28 about
                    unescaped brace
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: flo at FreeBSD.org
          Reporter: Mark.Martinec at ijs.si
          Assignee: flo at FreeBSD.org
             Flags: maintainer-feedback?(flo at FreeBSD.org)

Created attachment 200278
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200278&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list