xref: /plan9/sys/src/ape/cmd/patch/FREEBSD-upgrade (revision 0b459c2cb92b7c9d88818e9a2f72e678e5bc4553)
1This directory contains the virgin patch source on the vendor branch.  Do
2not under any circumstances commit new versions onto the mainline, new
3versions or official-patch versions must be imported.
4
5To prepare a new patch dist for import, extract it into a fresh directory
6and remove the following files (and any others that are non-FreeBSD
7specific):
8
9memchr.c
10mkinstalldirs
11pc/*
12rename.c
13
14The only other change that was made to the original tarball was to
15rename patch.man to patch.1.
16
17patch has RCS Id, Name and Header tags. It needs to be imported with -ko.
18
19It is imported from it's top level directory something like this:
20  cvs -n import -ko src/contrib/patch FSF patch_<version>
21
22The -n option is "don't do anything" so you can see what is about to happen
23first.  Remove it when it looks ok.
24
25The initial import was done with:
26  cvs import -ko src/contrib/patch FSF patch_2_4
27
28When new versions are imported, cvs will give instructions on how to merge
29the local and vendor changes when/if conflicts arise..
30
31steve@freebsd.org - 29 June 1997
32
33Current local changes:
34  - Make patch(1) compile -Wall clean.
35