Re: Soft scrolling on framebuffer consoles - with GPM Handling - revised for kernel 6.18.28 (etc.)
Michael Orlitzky <[email protected]> Wed, 13 May 2026 11:25:53 -0400
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Message-ID | <agSYASKqvcfXYnLt@mertle> |
On 2026-05-13 14:24:46, Alan Mackenzie wrote:
>
> Is this documented anywhere?
I don't think it will help much for kernel patches, but man 5 portage:
/etc/portage/patches/
In this directory patches to the package source tree can be cre‐
ated. For each package, patches are taken from these subdirec‐
tories in the following order:
1. /etc/portage/patches/${CATEGORY}/${P}-${PR}[:${SLOT}]
2. /etc/portage/patches/${CATEGORY}/${P}[:${SLOT}]
3. /etc/portage/patches/${CATEGORY}/${PN}[:${SLOT}]
Patches from more-specific directories overrides patches from
less-specific, i.e. if patches with the same name coexist in
different directories matches same package, only patch from di‐
rectory matches the first matching pattern will be applied.
Patches for each package are applied in the POSIX lexicographic
order. Patch file name must end in ".patch" or, for EAPI >= 6,
in ".diff".
If package ebuild uses EAPI <= 5, it must explicitly invoke
epatch_user or inherit epatch.eclass(5) and rely on default
src_prepare for apply patches. Otherwise, patches are silently
ignored. If package ebuild uses EAPI >= 6, applying user patches
is mandatory.