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

Replies