This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Heiko,
[Please CC the list next time.]
On Saturday 18 December 2010 22:19:36 Heiko Zuerker wrote:attached you find a patch for crosstool-ng 1.9.1. It removes the -F1 from the patch command, since it prevented a lot of patches from being able to be applied (namely the Gentoo gcc patches). In addition to that, I added some code which detects with -pX level is required to correctly apply the patch.
Nope. I do not want to rely on magic when applying the patches. They have to be applied as -p1 patches.
If you have a set of patches that do not apply with -p1, then you can have a look at scripts/patch-rework.sh. It's purpose is exactly that: transform a patchset of non-p1 patches into -p1 patches.
It is not documented, but the API is: patch-rework.sh <basedir> <src> <dst> [diff_opts ...]
where: basedir points to the extracted component to patch src points to the existing patchset to transform dst points to the directory where to put transformed patches diff_opts optional options to pass to diff
Then, once your patchset has been transformed, you can put it into your local patch directory.
Unfortunately I didn't get anywhere with the patch-rework.sh script. These are the patches I'm trying to apply: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/4.4.5/pie/
Regards Heiko Zuerker http://www.devil-linux.org
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |