home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!wupost!monsanto.com!albert.monsanto.com!nghoff
- From: nghoff@albert.monsanto.com (Norman G. Hoffman)
- Subject: HELP: Applying patches to software from FTP archives
- Message-ID: <1992Sep5.225712.7903@tin.monsanto.com>
- Sender: news@tin.monsanto.com (USENET News System)
- Organization: Monsanto Company
- X-Newsreader: Tin 1.1 PL5
- Distribution: na
- Date: Sat, 5 Sep 1992 22:57:12 GMT
- Lines: 44
-
- I've downloaded a utility (mmv) from an anonymous FTP site.
- Along with the source files (mmv.c.{1,2}) there is a patch file,
- mmv.patch1. Do I have to apply this patch by hand?
-
- The patch file appears to consist of "diff -c" output.
- Here's an excerpt:
-
- > The two major bugs fixed are:
- > 1) in its BSD reincarnation, whenever a file had to be moved between devices
- > (by copying, then deleting), mmv 1.0 made a symbolic link to "/" instead
- > of copying the file. It still deleted the original, though. Oops!
- > 2) the uppercase/lowercase conversion feature did not work.
- >
- > Vladimir Lanin
- >
- > ---cut here---
- > ***************
- > *** 1,5 ****
- > /*
- > ! mmv 1.0
- > Copyright (c) 1990 Vladimir Lanin.
- > This program may be freely used and copied on a non-commercial basis.
- > The author assumes no responsibility for any damage or data loss that may
- > --- 1,5 ----
- > /*
- > ! mmv 1.01b
- > Copyright (c) 1990 Vladimir Lanin.
- > This program may be freely used and copied on a non-commercial basis.
- > The author assumes no responsibility for any damage or data loss that may
- > ***************
-
- "diff -e" output would have allowed me to apply the patch by
- running it through the ed editor, as documented in the diff man page.
- Is "diff -c" a standard way of supplying source patches on FTP archives?
-
- Surely I don't have to do this by hand. Is there an automated way
- to apply the patch? The "cut here" line leads me to believe there is.
-
- I don't think it matters, but I'm on a Sparc 1+ running
- SunOS 4.1.1 and Openwindows 3.0.
-
- Thanks,
-
- nghoff@bb1t.monsanto.com
-