From cd0bab2d6c5f9b3a2316487486348291c22b79c2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Sep 2003 19:29:06 +0000 Subject: [PATCH] 2003-09-03 Aaron J. Grier * tools.t: Added how to generate and apply a patch. --- doc/FAQ/ChangeLog | 4 ++++ doc/FAQ/tools.t | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/doc/FAQ/ChangeLog b/doc/FAQ/ChangeLog index 8772cababc..ffb0e7aaa4 100644 --- a/doc/FAQ/ChangeLog +++ b/doc/FAQ/ChangeLog @@ -1,3 +1,7 @@ +2003-09-03 Aaron J. Grier + + * tools.t: Added how to generate and apply a patch. + 2003-08-30 Ralf Corsepius * FAQ.texi: include common/rtems.texi. diff --git a/doc/FAQ/tools.t b/doc/FAQ/tools.t index 59d5cb75db..4af175bcc9 100644 --- a/doc/FAQ/tools.t +++ b/doc/FAQ/tools.t @@ -49,3 +49,23 @@ in the two source files. The GNU open-source packages usually have UNIX style CR/LF. If you edit on a Windows platform, the line terminators may have been transformed by the editor into Windows style. + +@section How do I apply a patch? + +Patches generated with the @code{diff} program are fed into the +@code{patch} program as follows: + +@example +patch -p1