aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/patch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/patch.xml')
-rw-r--r--chapter06/patch.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/patch.xml b/chapter06/patch.xml
index 3e08cf8c9..a2213f867 100644
--- a/chapter06/patch.xml
+++ b/chapter06/patch.xml
@@ -42,6 +42,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=/usr</userinput></screen>