Article View: news.software.readers
Article #911Re: Patching software (rn, cnews, etc.)
From: Eric Peterson
Date: Wed, 20 Nov 1991 19:58
Date: Wed, 20 Nov 1991 19:58
38 lines
2374 bytes
2374 bytes
deb@zehntel (MOTHER_DAEMON) writes:
| I still don't know how to do a patch. Reading
| Patch 1 for rn-4.4 says in part, "Install this patch using Larry Wall's
| patch program." Hmmmm... where is this program?
Patch is available for anonymous FTP from prep.ai.mit.edu in the file
/pub/gnu/patch-2.0.12u4.tar.Z.
| How is it used?
A patch file is a file that contains descriptions of the differences between
two versions of one or more files. The patch file is produced by running the
diff(1) program against the old and new versions of all the files in a source
tree.
| In addition, does
| anyone have a cook-book Readme about installing a patch for rn or cnews,
| or are the patching methods different for these applications??
There's nothing special about installing a patch for any package. Patches
usually include explicit instructions for installing the patch, but the
patch(1) program itself also contains a very good, easy-to-read description of
how the patching process works.
The basic patch command is:
patch -p -N -d {directory} < patch.file
Where "{directory}" is the root of the source tree you are patching.
Read the patch(1) manual for more details.
Eric
--
Eric Peterson <> epeterson@encore.com <> uunet!encore!epeterson
Encore Computer Corp. * Ft. Lauderdale, Florida * (305) 587-2900 x 5208
"The heat and light from the sun are caused by the nuclear reaction between
hydrogen, helium, oxygen, estrogen, AND hair." - They Might Be Giants
Technical Details
Message-ID:
<epeterso.690667100@parity>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!ieee.org!dorm.rutgers.edu!rutgers!ub!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!ogicse!hsdndev!encore!parity!epetersoReferences:
<22142@zehntel.UUCP>Show Full Headers
Complete Article Headers
Message-ID: <epeterso.690667100@parity> Subject: Re: Patching software (rn, cnews, etc.) Date: Wed, 20 Nov 1991 19:58:20 +0000 From: epeterso@parity.encore.com (Eric Peterson) References: <22142@zehntel.UUCP> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!ieee.org!dorm.rutgers.edu!rutgers!ub!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!ogicse!hsdndev!encore!parity!epeterso Newsgroups: news.software.readers Sender: news@Encore.COM Reply-To: epeterson@encore.com (Eric Peterson) Organization: Encore Computer Corp, Gemini Diagnostics Development Lines: 38 Nntp-Posting-Host: parity.encore.com News-Software: NN 6.4.16