[net.emacs] Apply GNU patch files

emacs@dartvax.UUCP (Emacs editor) (05/14/86)

I've used patch before with no problem, but I cannot seem to apply the
GNU diffs to my sources. It either prompts me for the file to patch,
and then tells me that " is not a normal file, can't patch." (Right,
that is a blank, not a file name.) or it just sits there. What is the
correct incantation for applying these files to the whole directory?
Thanks, in advance. 
 
Oh yes, I did receive the diffs from 17.61 -> 17.63 so noone else need
supply them.

-David Kovar

trent@cit-vax.Caltech.Edu (Ray Trent) (05/17/86)

[this space for rent]

I asked this question a while back. Here is a summary of the 
responses:

Basically, you cd to the directory containing the 'dist' directory
from the distribution. Then you type:

   patch -p <diff-xx.yy-xx.zz

If you don't keep your sources, etc in a directory called 'dist'
cd to whatever directory the 'src', 'lisp', 'etc', etc. directories
are in and create a symbolic link to it named dist. i.e. type:
   
   ln -s . dist

Then do the above. I have tried this and it works flawlessly.
REMEMBER to recompile the .el files with byte-recompile-directory before
building the new (gnu) emacs.
-- 
					../ray\..
				(trent@csvax.caltech.edu)
                               Wow, did I REALLY say that?