Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: David Michael <fedora.dm0@×××××.com>
Cc: Gentoo Dev <gentoo-dev@l.g.o>, base-system@g.o
Subject: [gentoo-dev] Re: [PATCH v2] fixheadtails.eclass: drop the sed dependency
Date: Wed, 25 Mar 2020 17:48:43
Message-Id: CAJ0EP42pdEsGMmunz5PyFTW0__AJ_JZebQJ8CTecHvqfZ3sktg@mail.gmail.com
In Reply to: [gentoo-dev] Re: [PATCH v2] fixheadtails.eclass: drop the sed dependency by David Michael
1 On Wed, Mar 25, 2020 at 1:40 PM David Michael <fedora.dm0@×××××.com> wrote:
2 >
3 > On Fri, Mar 20, 2020 at 5:12 PM David Michael <fedora.dm0@×××××.com> wrote:
4 > > Signed-off-by: David Michael <fedora.dm0@×××××.com>
5 > > ---
6 > >
7 > > Changes since v1:
8 > > * Drop the dependency altogether
9 > >
10 > > eclass/fixheadtails.eclass | 4 +---
11 > > 1 file changed, 1 insertion(+), 3 deletions(-)
12 > >
13 > > diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass
14 > > index c19d33924aa..475b182843a 100644
15 > > --- a/eclass/fixheadtails.eclass
16 > > +++ b/eclass/fixheadtails.eclass
17 > > @@ -1,4 +1,4 @@
18 > > -# Copyright 1999-2014 Gentoo Foundation
19 > > +# Copyright 1999-2020 Gentoo Authors
20 > > # Distributed under the terms of the GNU General Public License v2
21 > >
22 > > # @ECLASS: fixheadtails.eclass
23 > > @@ -8,8 +8,6 @@
24 > > # Original author John Mylchreest <johnm@g.o>
25 > > # @BLURB: functions to replace obsolete head/tail with POSIX compliant ones
26 > >
27 > > -DEPEND=">=sys-apps/sed-4"
28 > > -
29 > > _do_sed_fix() {
30 > > einfo " - fixed $1"
31 > > sed -i \
32 > > --
33 > > 2.21.1
34 >
35 > Can this patch be applied?
36
37 Done.