Gentoo Archives: gentoo-dev

From: "C. Bergström" <cbergstrom@×××××××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Request for feedback on GNU Patch change
Date: Tue, 16 Sep 2008 20:34:57
Message-Id: 48D0177B.2010002@netsyncro.com
1 To start.. I humbly ask for no response vs starting a flamewar..
2
3 Short version:
4 The proposed change will require changes in two places, but may cause
5 other breakage and or simply not settle well with general consensus.
6
7 1) Add a symlink in GNU patch ebuild to symlink patch to gpatch
8
9 2) Change references to patch in eclass/eutils.eclass to gpatch
10 ---------
11
12 Benefit is that on systems != Linux where GNU patch exists in the
13 subpath to some crappy legacy thing which probably shouldn't even be
14 called patch.. On these systems calling gpatch explicitly means GNU
15 patch and avoids the whole PATH and incompatibility issue.
16
17 Would this benefit those working on the FBSD?
18 Anyone interested in OpenSolaris?
19
20 I have other changes I'm making to remove GNUisms, but this one I'm not
21 seeing much hope for and will pop up on every emerge --sync..
22
23 patch -p0 -g0 -E --no-backup-if-mismatch < /opt/foo/bar.patch
24
25 Suggestions?
26
27 Thanks
28
29 ./Christopher

Replies

Subject Author
[gentoo-dev] Re: Request for feedback on GNU Patch change Duncan <1i5t5.duncan@×××.net>