1 |
commit: 24b3106c5e9427a875d2de19b3b43769fc6216d3 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 23:54:55 2016 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 23:54:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b3106c |
7 |
|
8 |
kernel-2.eclass: Support EAPI 6 when applying user patches. |
9 |
|
10 |
eclass/kernel-2.eclass | 8 ++++++-- |
11 |
1 file changed, 6 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass |
14 |
index c171940..3f5fb3b 100644 |
15 |
--- a/eclass/kernel-2.eclass |
16 |
+++ b/eclass/kernel-2.eclass |
17 |
@@ -1260,8 +1260,12 @@ kernel-2_src_unpack() { |
18 |
# we run misc `make` functions below |
19 |
[[ $(type -t kernel-2_hook_premake) == "function" ]] && kernel-2_hook_premake |
20 |
|
21 |
- debug-print "Doing epatch_user" |
22 |
- epatch_user |
23 |
+ debug-print "Applying any user patches" |
24 |
+ # apply any user patches |
25 |
+ case ${EAPI:-0} in |
26 |
+ 0|1|2|3|4|5) epatch_user ;; |
27 |
+ 6) eapply_user ;; |
28 |
+ esac |
29 |
|
30 |
debug-print "Doing unpack_set_extraversion" |