On Sun, 18 Oct 2015 12:07:45 +0200 Michał Górny <mgo...@gentoo.org> wrote:
> On Sun, 18 Oct 2015 11:23:56 +0200 > Alexis Ballier <aball...@gentoo.org> wrote: > > > > > - what do I, as en ebuild writer, gain from this? > > > > > > Reliable patching. Unlike epatch, eapply will not succeed when > > > the patch unexpectedly applied to the wrong directory. > > > > Why not, but when exactly would eapply fail where epatch wouldn't > > while it should have ? > > I already told you. When -p1 patch only adds files, epatch is going to > merrily apply it as -p0. that's one documented usage of EPATCH_OPTS or epatch args I think