I know that. But the patch should be applied *only* for versions of kernels 4.7+. So, I'm asking how is the policy for that.
I see in the linux-info eclass documentation ( https://devmanual.gentoo.org/eclass-reference/linux-info.eclass/index.html) that I can maybe apply it with a line like this? kernel_is -ge 4 7 && epatch "${P}....." Best regards, Natanael. On 5 August 2016 at 20:34, R0b0t1 <r03...@gmail.com> wrote: > On Aug 5, 2016 1:23 PM, "Natanael Olaiz" <nol...@gmail.com> wrote: > > > > I applied the attached patch unconditionally locally, and it seems to > work. > > Which is correct way to apply the patch or not depending on the kernel > version? > > > > See ebuild, there is a patch phase. Shove it in proper directory. Will > need local overlay. >