Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 1995 21:48:25 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        chuckr@Glue.umd.edu (Chuck Robey)
Cc:        asami@cs.berkeley.edu, FreeBSD-ports@freeBSD.org
Subject:   Re: diff/patch question
Message-ID:  <199506200448.VAA02456@gndrsh.aac.dev.com>
In-Reply-To: <Pine.SUN.3.91.950619225709.16334B-100000@mocha.eng.umd.edu> from "Chuck Robey" at Jun 19, 95 11:03:21 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi Satoshi.  I am trying to keep up with changes I'm making in a port I'm 
> trying to develop, and so I'm using the info you gave me on diff.  I'm 
> having a strange problem, tho, and I hope you can help.  The project I'm 
> into uses imake, so one of the files is named site.def.  The file occurs 
> in the top project directory, and has to be changed, then deposited in 
> the project config directory, several layers down.  Patch keeps on 
> insisting that, since it finds the file in the top directory, I must have 
> made a mistake, so it patches it inthe top directory, and doesn't move it 
> down.  How can I force patch to believe I know what I want?

I am not Satoshi, but will try to answer this for you.  Use a -p0 option
to patch, that will tell patch to use the full pathname in the patch file.

-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506200448.VAA02456>