commit:     8ac14346078ab90a2b2f1073943ac37b4df7dbe5
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 07:38:37 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 07:38:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac14346

sys-kernel/linux-headers: update to EAPI=6

Reported-by: Sam James
Closes: https://bugs.gentoo.org/739942
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-kernel/linux-headers/linux-headers-3.18.ebuild | 6 ++++--
 sys-kernel/linux-headers/linux-headers-4.4.ebuild  | 6 ++++--
 sys-kernel/linux-headers/linux-headers-4.9.ebuild  | 6 ++++--
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/sys-kernel/linux-headers/linux-headers-3.18.ebuild 
b/sys-kernel/linux-headers/linux-headers-3.18.ebuild
index 9559d1170da..ba6ba023e84 100644
--- a/sys-kernel/linux-headers/linux-headers-3.18.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-3.18.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=6
 
 ETYPE="headers"
 H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa 
ia64 m32r m68k metag microblaze mips mn10300 openrisc ppc ppc64 s390 score sh 
sparc tile x86 xtensa"
@@ -25,7 +25,9 @@ src_unpack() {
 }
 
 src_prepare() {
-       [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+       default
+
+       [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}/${PV}"/*.patch
 }
 
 src_install() {

diff --git a/sys-kernel/linux-headers/linux-headers-4.4.ebuild 
b/sys-kernel/linux-headers/linux-headers-4.4.ebuild
index fd5409695fa..7179ff17feb 100644
--- a/sys-kernel/linux-headers/linux-headers-4.4.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-4.4.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=6
 
 ETYPE="headers"
 H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa 
ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 
score sh sparc tile x86 xtensa"
@@ -25,7 +25,9 @@ src_unpack() {
 }
 
 src_prepare() {
-       [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+       default
+
+       [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}/${PV}"/*.patch
 }
 
 src_install() {

diff --git a/sys-kernel/linux-headers/linux-headers-4.9.ebuild 
b/sys-kernel/linux-headers/linux-headers-4.9.ebuild
index ef17eaa51ae..3b5fc0c8ba5 100644
--- a/sys-kernel/linux-headers/linux-headers-4.9.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-4.9.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
 ETYPE="headers"
 H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa 
ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 
score sh sparc tile x86 xtensa"
@@ -25,7 +25,9 @@ src_unpack() {
 }
 
 src_prepare() {
-       [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+       default
+
+       [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}/${PV}"/*.patch
 }
 
 src_install() {

Reply via email to