Re: Soft scrolling on framebuffer consoles - with GPM Handling - revised for kernel 6.18.28 (etc.)

Jack <[email protected]> Wed, 13 May 2026 19:45:58 -0400
Newsgroups gmane.linux.gentoo.user
Message-ID <[email protected]>
On 2026.05.13 10:24, Alan Mackenzie wrote:
> Hello, Alexis.
> 
> On Wed, May 13, 2026 at 14:51:03 +1000, Alexis wrote:
> > Ben Knoble <[email protected]> writes:
> 
> > > However, using /etc/portage/patches (or w/e the path is; on
> > > mobile) it should be possible to make use of the patch somewhat
> > > easy?
> 
> > You are indeed correct. :-) Here's the wiki page about it:
> 
> >   https://wiki.gentoo.org/wiki//etc/portage/patches
> 
> That is not a well written page.  There is no coherent description of
> how one specifies the version(s) of a package a patch should be  
> applied
> to.  Just some cryptic meta-specifications and a few vague examples.
> 
> The text ought to say what ranges of versions can be specified, and  
> how
> to do so.
> 
> The text specifically says "version(s)", so presumably there's some
> syntax for specifying several versions.  But the examples only appear  
> to
> show one specific version each, or any version at all.
> 
> I would like to specify versions "6.18.n for n >= 26".  Is this
> possible?  (I suspect not).  If so, how?  If not, what about "6.18.n  
> for
> any n"?
> 
> Is this documented anywhere?
I don't know that it's documented, but I have a version of your patch  
stored as  
/etc/portage/patches/sys-kernel/=gentoo-sources-6.18*/6.18.18-GPM-NO-MD.20260317.diff  
and it has worked since then for all following 6.18 versions.  I moved  
to 6.19, and now 7.0, before it needed updating to your latest  
version.  I don't remember how I created that directory, but doing ls  
-l shows it in single quotes, so I don't think any fancier quoting is  
actually needed.

Jack