aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/patch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/patch.xml')
-rw-r--r--chapter05/patch.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/patch.xml b/chapter05/patch.xml
index de1ee7544..263feffac 100644
--- a/chapter05/patch.xml
+++ b/chapter05/patch.xml
@@ -43,6 +43,12 @@
<sect2 role="installation">
<title>Installation of Patch</title>
+ <para>Apply a patch that fixes a bug whereby <command>patch</command>
+ fails to apply patches whose lines contain trailing carriage return
+ characters:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&patch-fixes-patch;</userinput></screen>
+
<para>Prepare Patch for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>