This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error building from cvs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]