On Fri, 2011-08-26 at 11:07 +0200, Michael Banck wrote: > Hi, > > On Thu, Aug 25, 2011 at 06:16:37PM +0200, Svante Signell wrote: > > Sorry to bother you again ;-) How to add a patch of a patch in quilt? > > > > Before: > > #ls debian/patches > > old_patch > > series > > > > #cat debian/patches/series/ > > old_patch > > > > After: > > # ls debian/patches > > old_patch > > new_patch: modifying the old_patch > > > > # cat debian/patches/series > > old_patch > > new patch? > > > > Which quilt commands to use?? > > Is there a good reason not to just update old_patch to the content of > old_patch+new_patch?
You mean to do that outside quilt? > Otherwise, you need to make sure that new_patch > sorts later than old_patch by putting it after it in series. The new_patch modifies the old patch in debian/series so it had to be placed _before_ the old patch, which actually modify files in the sources. But the actual problem was a little more complicated than that. > Or is your question about how to generate new_patch? This worked for me: # ls . src_dir new_patch # cd src_dir # patch -p1 < ../new_patch Thanks! -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

