Re: [proaudio] patching specimen

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Jouni Rinne a écrit :
A small HOWTO of creating patch files for ebuilds :) :

You need to have two source trees, say, specimen-original and specimen-patched.
1) cd into the directory having these.
2) run
diff -Naur specimen-original/path/to/original-file
specimen-patched/path/to/modified-file > nameofpatch.patch
3) copy the patch in /path/to/your/portage/specimen/files
4) use this in ebuild as follows
epatch ${FILESDIR}/nameofpatch.patch

thanks a lot, the modified package has already been posted to the list.

Regards

Philippe



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/