1b083f881SAndreas GruenbacherThis is GNU patch, which applies diff files to original files.
2b083f881SAndreas Gruenbacher
3b083f881SAndreas GruenbacherThis version of patch has many changes made by the Free Software Foundation.
4bcce1233SAndreas GruenbacherThey add support for:
5bcce1233SAndreas Gruenbacher * handling arbitrary binary data and large files
6bcce1233SAndreas Gruenbacher * the unified context diff format that GNU diff can produce
7a03f2289SAndreas Gruenbacher * merging into files instead of creating reject files
8bcce1233SAndreas Gruenbacher * making GNU Emacs-style backup files
9bcce1233SAndreas Gruenbacher * improved interaction with RCS and SCCS
10bcce1233SAndreas Gruenbacher * the GNU conventions for option parsing and configuring and compilation.
11aa0d4dd8SAndreas Gruenbacher * better POSIX compliance
12b083f881SAndreas GruenbacherThey also fix some bugs.
13b083f881SAndreas Gruenbacher
14b083f881SAndreas GruenbacherIf you obtained this file as part of a "git clone", then see the
15b083f881SAndreas GruenbacherREADME-hacking file.  If this file came to you as part of a tar archive,
16b083f881SAndreas Gruenbacherthen see the file INSTALL for compilation and installation instructions.
17b083f881SAndreas Gruenbacher
18b083f881SAndreas GruenbacherSee the file NEWS for a list of major changes in the current release.
1966f9fa26SAndreas GruenbacherA more detailed description of all changes can be found in the file ChangeLog
20b083f881SAndreas Gruenbacherin tar archives, and with "git log" which shows the version control history.
21bcce1233SAndreas Gruenbacher
22bcce1233SAndreas GruenbacherTutorial-style documentation for patch is included in the GNU
23712cce6fSAndreas GruenbacherDiffutils package; get GNU Diffutils 2.8 or later for up-to-date
24712cce6fSAndreas Gruenbacherdocumentation for patch.
25068f401eSAndreas Gruenbacher
26712cce6fSAndreas GruenbacherUse `configure --disable-largefile' to disable large file support;
27712cce6fSAndreas Gruenbacherthis is reportedly necessary on Red Hat GNU/Linux 6.0 to avoid a C library bug.
281adb4535SAndreas GruenbacherFor MS-DOS using DJGPP tools, see the file pc/djgpp/README.
291adb4535SAndreas GruenbacherFor other systems, copy config.hin to config.h and change
30068f401eSAndreas Gruenbacher#undef statements in it to #define as appropriate for your system,
31068f401eSAndreas Gruenbacherand copy Makefile.in to Makefile and set the variables that are
32bcce1233SAndreas Gruenbacherenclosed in @ signs as appropriate for your system.
33bcce1233SAndreas Gruenbacher
34bcce1233SAndreas GruenbacherPlease send bug reports for this version of patch to
35712cce6fSAndreas Gruenbacher<bug-patch@gnu.org>.
36bcce1233SAndreas Gruenbacher
37bcce1233SAndreas GruenbacherThe Free Software Foundation is distributing this version of patch
38bcce1233SAndreas Gruenbacherindependently because as of this writing, Larry Wall has not released a
39bcce1233SAndreas Gruenbachernew version of patch since mid-1988.  We have heard that he has been
40bcce1233SAndreas Gruenbachertoo busy working on other things, like Perl.  He has graciously agreed
41bcce1233SAndreas Gruenbacherto let GNU `patch' be distributed under the terms of the GNU General
42bcce1233SAndreas GruenbacherPublic License.
43bcce1233SAndreas Gruenbacher
44bcce1233SAndreas Gruenbacher------
45bcce1233SAndreas Gruenbacher
46712cce6fSAndreas GruenbacherCopyright (C) 1984, 1985, 1986, 1987, 1988 Larry Wall
47712cce6fSAndreas Gruenbacher
482d38b117SJim MeyeringCopyright (C) 1989-1993, 1997, 1999, 2002, 2009, 2011-2012 Free Software
492d38b117SJim MeyeringFoundation, Inc.
50bcce1233SAndreas Gruenbacher
51bcce1233SAndreas GruenbacherThis program is free software: you can redistribute it and/or modify
52bcce1233SAndreas Gruenbacherit under the terms of the GNU General Public License as published by
532b2fb1f3SAndreas Gruenbacherthe Free Software Foundation, either version 3 of the License, or
542b2fb1f3SAndreas Gruenbacher(at your option) any later version.
55bcce1233SAndreas Gruenbacher
56bcce1233SAndreas GruenbacherThis program is distributed in the hope that it will be useful,
57bcce1233SAndreas Gruenbacherbut WITHOUT ANY WARRANTY; without even the implied warranty of
592b2fb1f3SAndreas GruenbacherGNU General Public License for more details.
60bcce1233SAndreas Gruenbacher
61bcce1233SAndreas GruenbacherYou should have received a copy of the GNU General Public License
622b2fb1f3SAndreas Gruenbacheralong with this program.  If not, see <http://www.gnu.org/licenses/>.