tech-pkg archive

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

Re: fixing bugs in packages



On Fri, May 11, 2012 at 9:27 AM, David Laight <david%l8s.co.uk@localhost> wrote:
> make clean deletes everything.....

I usually do "make" in the work directory, although this is not a
"clean" way to do it.

> In any case, generating a patch isn't that easy, you need a copy of the
> original file - which only exists inside the tar file (unless you
> save a copy between every buold attempt).

The solution that works for me is to execute
:!cp % %.orig
_before_ saving the edited file. This works even after you started
hacking. For the rest, mkpatches is your friend.

--Benny.


-- 
The first essential in chemistry is that you should perform practical
work and conduct experiments, for he who performs not practical work
nor makes experiments will never attain the least degree of mastery.
        -- Abu Musa Jabir ibn Hayyan (721-815)


Home | Main Index | Thread Index | Old Index