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