1 |
commit: b50b1ad173ee9ea066231289a5b9f5ee644acfcc |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 15 22:54:15 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 22 18:39:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=b50b1ad1 |
7 |
|
8 |
ebuild-writing/../patches: add warning about strip |
9 |
|
10 |
ebuild-writing/misc-files/patches/text.xml | 7 +++++++ |
11 |
1 file changed, 7 insertions(+) |
12 |
|
13 |
diff --git a/ebuild-writing/misc-files/patches/text.xml b/ebuild-writing/misc-files/patches/text.xml |
14 |
index 506871f..fe9f471 100644 |
15 |
--- a/ebuild-writing/misc-files/patches/text.xml |
16 |
+++ b/ebuild-writing/misc-files/patches/text.xml |
17 |
@@ -37,6 +37,13 @@ here. Mirrored patches are often compressed with <c>xz</c> or |
18 |
Patches included in <c>${FILESDIR}</c> should never be compressed. |
19 |
</note> |
20 |
|
21 |
+<warning> |
22 |
+Starting from EAPI=6 a strip patch level was limited to the <c>-p1</c>. |
23 |
+Although it can be overridden with a <c>eapply -p<strip_level></c> |
24 |
+command, it is higly recommended to adapt the patch itself to work |
25 |
+with the <c>-p1</c> default. |
26 |
+</warning> |
27 |
+ |
28 |
<p> |
29 |
If a package requires many patches, even if they are individually |
30 |
small, it is often best to create a patch tarball to avoid cluttering |