From: Mike Pagano Date: Mon, 28 Nov 2016 23:54:55 +0000 (-0500) Subject: kernel-2.eclass: Support EAPI 6 when applying user patches. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=24b3106c5e9427a875d2de19b3b43769fc6216d3;p=gentoo.git kernel-2.eclass: Support EAPI 6 when applying user patches. --- diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index c1719409ad89..3f5fb3b0863d 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1260,8 +1260,12 @@ kernel-2_src_unpack() { # we run misc `make` functions below [[ $(type -t kernel-2_hook_premake) == "function" ]] && kernel-2_hook_premake - debug-print "Doing epatch_user" - epatch_user + debug-print "Applying any user patches" + # apply any user patches + case ${EAPI:-0} in + 0|1|2|3|4|5) epatch_user ;; + 6) eapply_user ;; + esac debug-print "Doing unpack_set_extraversion"