On Tue, 2006-01-24 at 12:01 +0100, Rakotomandimby Mihamina wrote: > On Sun, 2006-01-22 at 18:59 +0100, Christoph Haas wrote: > > To get working dpatches I recommend using the 'dpatch-edit-patch' > > command. > > Great tool! > But tell me: > I had a look at the man page, but I did not see how to go on or edit an > already existing dpatch. > For example, I made my dpatch: > > $ dpatch-edit-patch foo > [... edit 454546456476 lines code ...] > $ exit > > Then when compile, I see that I made a typo. > I dont wana re-edit the whole code I modified. > How should I do? > Yes, I know the solution may be to make small patches but no a very big > one...
Move your first patch out of the way, run dpatch-edit-patch as if you were rewriting it from scratch, apply the original patch manually, make your corrections, done. If it's a simple typo in one line you can also edit the patch file by hand. > Second question, it did not generate the patches/00list file and and > patches/DPATCH. I copyed them from an older package, but how to generate > them? It's just a simple list of file names. cd debian/patches ls *.dpatch > 00list John
signature.asc
Description: This is a digitally signed message part