Re: Error building from cvs
Keith Seitz <[email protected]> Wed, 03 Jul 2013 09:11:02 -0700
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <[email protected]> |
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