[Bug 273319] x11-wm/compton: compton-trans uses invalid POSIX grep expressions

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Aug 2023 01:22:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273319

            Bug ID: 273319
           Summary: x11-wm/compton: compton-trans uses invalid POSIX grep
                    expressions
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: parakleta@darkreality.org
                CC: femc7488@gmail.com
             Flags: maintainer-feedback?(femc7488@gmail.com)
                CC: femc7488@gmail.com

Created attachment 244305
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244305&action=edit
Convert sed to BRE

I have had an open bug report for around 8 years now on the main project, with
no progress.  Hoping that maybe we can fix this here instead.

The simplest solution is to append the switch `-E` to every call to sed (I
haven't tested this, but assume it will work), or alternatively the attached
patch modifies the regular expressions to only use valid BRE expressions.

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