Gentoo Archives: gentoo-dev

From: David Michael <fedora.dm0@×××××.com>
To: gentoo-dev@l.g.o
Cc: base-system@g.o
Subject: [gentoo-dev] Re: [PATCH v2] fixheadtails.eclass: drop the sed dependency
Date: Wed, 25 Mar 2020 17:41:15
Message-Id: CAEvUa7mmfvARKKFDTko6y4qrdJ5DEN2BV-MbLV+_VvnCzdpF2A@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH v2] fixheadtails.eclass: drop the sed dependency by David Michael
On Fri, Mar 20, 2020 at 5:12 PM David Michael <fedora.dm0@×××××.com> wrote:
> Signed-off-by: David Michael <fedora.dm0@×××××.com> > --- > > Changes since v1: > * Drop the dependency altogether > > eclass/fixheadtails.eclass | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass > index c19d33924aa..475b182843a 100644 > --- a/eclass/fixheadtails.eclass > +++ b/eclass/fixheadtails.eclass > @@ -1,4 +1,4 @@ > -# Copyright 1999-2014 Gentoo Foundation > +# Copyright 1999-2020 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > > # @ECLASS: fixheadtails.eclass > @@ -8,8 +8,6 @@ > # Original author John Mylchreest <johnm@g.o> > # @BLURB: functions to replace obsolete head/tail with POSIX compliant ones > > -DEPEND=">=sys-apps/sed-4" > - > _do_sed_fix() { > einfo " - fixed $1" > sed -i \ > -- > 2.21.1
Can this patch be applied? Thanks. David

Replies