[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I've been caught out



On Monday, January 24, 2022 6:19:24 AM EST tomas@tuxteam.de wrote:
> On Mon, Jan 24, 2022 at 06:08:57AM -0500, gene heskett wrote:
> > On Monday, January 24, 2022 5:19:13 AM EST Thomas Schmitt wrote:
> > > Hi,
> > > 
> > > > gene@coyote:~/Debian-arm/linux$ patch -p1  ../patches/*.patch
> > > > patch:
> > > > ../patches/0001-mm-memcg-Disable-threshold-event-handlers-on-
> > > > PREEMPT.patch: extra operand
> > > 
> > > man patch says
> > > 
> > >        patch [options] [originalfile [patchfile]]
> > > 
> > > With "patchfile" being singular i'd expect that it refuses if you
> > > give
> > > more than one.
> > > Further it does not look as if you give an "originalfile", which is
> > > demanded by the common []-bracket around "originalfile
> > > [patchfile]".
> > > 
> > > So what file do you want to change by the patch ?
> > > Does ../patches/*.patch evaluate to a single file ?
> > 
> > No, its a directory with many patches. IMO patch should take them, in
> > their sorted order, until its out of patches.
> 
> The man page disagrees with you on that, as Thomas notes :)
> 
> >                            Or do we have a gui to
> > 
> > oversee that, something like kompare maybe? I'll take a look.
> 
> See my other answer for a quick-and-dirty proposal. There are several
> patch managers around which help you on that -- quilt is one of them.
> 

And once I had wrapped my brain around quilt, it just worked, the result 
is building right now. Thanks a bunch.

> Cheers
Take care Thomas.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>




Reply to: