Re: Error building from cvs
John Long <[email protected]> Wed, 3 Jul 2013 17:17:40 +0000
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <[email protected]> |
Thanks, I see you updated the CVS sources as well. This built fine and comes
up ok. I'll see what I can do with it!
/jl
On Wed, Jul 03, 2013 at 09:11:02AM -0700, Keith Seitz wrote:
> On 07/03/2013 04:06 AM, John Long wrote:
> >Can you please remind me how to apply your patches?
>
> Git format shouldn't matter: I apply those to branches all the time
> with `patch'. The probable cause is the leading path on that patch.
>
> The paths in the patch are all prefaced with: "a/gdb/gdbtk/generic"
> [or "b/gdb/gdbtk/generic"]. So depending on what source directory
> you are sitting in, you need to specify something other than "-p0"
> to `patch'.
>
> If the CWD is (from CVS) src/gdb/, then you need -p2. If the CWD is
> src/, you need -p1. If you are sitting in src/gdb/gdbtk/generic/,
> yes, you need -p4 to ignore the first for directory components in
> the patch.
>
> Keith
--
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
against HTML e-mail X Loongson MIPS and OpenBSD
and proprietary / \ http://www.mutt.org
attachments / \ Code Blue or Go Home!
Encrypted email preferred PGP Key 2048R/DA65BC04