Gentoo Archives: gentoo-portage-dev

From: Nekun <nekokun@××××××××.cc>
To: gentoo-portage-dev@l.g.o
Cc: Nekun <nekokun@××××××××.cc>, Miles Rout <miles@××××.nz>
Subject: [gentoo-portage-dev] [PATCH v2 1/2] portage.5: Describe userpatch applying rules in more clean wording
Date: Mon, 26 Apr 2021 15:50:38
Message-Id: 20210426154927.21521-1-nekokun@firemail.cc
In Reply to: [gentoo-portage-dev] [PATCH 1/2] portage.5: Describe userpatch applying rules in more clean wording by Nekun
1 Bug: https://bugs.gentoo.org/698244
2 Signed-off-by: Nekun <nekokun@××××××××.cc>
3 ---
4 Tried to be more compact and precise, as suggested in the Bugzilla discussion
5 // v2: fix some minor grammar issues
6
7 man/portage.5 | 12 ++++++------
8 1 file changed, 6 insertions(+), 6 deletions(-)
9
10 diff --git a/man/portage.5 b/man/portage.5
11 index 50f20454c..4e7d8c802 100644
12 --- a/man/portage.5
13 +++ b/man/portage.5
14 @@ -1392,12 +1392,12 @@ following order:
15 /etc/portage/patches/${CATEGORY}/${PN}[:${SLOT}]
16 .RE 2
17
18 -Patches from more-specific directories overrides patches from less-specific,
19 -i.e. if patches with the same name coexist in different directories matches
20 -same package, only patch from directory matches the first matching pattern
21 -will be applied. Patches for each package are applied in the POSIX
22 -lexicographic order. Patch file name must end in ".patch" or, for
23 -\fBEAPI\fR >= \fB6\fR, in ".diff".
24 +If patches with the same filename exist in multiple directories
25 +matching the same package, only the patch from the most specific
26 +directory is applied. An empty patch from a more-specific directory
27 +discards patches with the same filename from less-specific directories.
28 +Patches for each package are applied in POSIX lexicographic order. Patch
29 +filenames must end in ".patch" or, for \fBEAPI\fR >= \fB6\fR, in ".diff".
30
31 If package ebuild uses \fBEAPI\fR <= \fB5\fR, it must explicitly invoke
32 \fBepatch_user\fR or inherit \fBepatch.eclass\fR(5) and rely on default
33 --
34 2.26.3

Replies

Subject Author
[gentoo-portage-dev] [PATCH v2 2/2] ebuild.5: Fix eapply target Nekun <nekokun@××××××××.cc>