aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml7
-rw-r--r--chapter01/whatsnew.xml3
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/less.xml5
-rw-r--r--patches.ent5
5 files changed, 28 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 196a7514d..0da038229 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,13 @@
<para>2006-10-28</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Fix a bug in Less whereby the <type>sigset_t</type>
+ type is not detected by the <command>configure</command> script, which
+ causes <function>sigsetmask</function> to be used instead of the
+ preferred <function>sigprocmask</function> function. Thanks to Robert
+ Connolly for the report and patch.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Upgrade to IPRoute2-2.6.18-20061002.</para>
</listitem>
<listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index aaba1e80f..308568324 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -205,6 +205,9 @@
<para>&bash-comment-patch;</para>
</listitem>
<listitem>
+ <para>&less-signal_fix-patch;</para>
+ </listitem>
+ <listitem>
<para>&linux-unifdef-patch;</para>
</listitem>
<listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 350136839..3b96a9d36 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -155,6 +155,14 @@
</varlistentry>
<varlistentry>
+ <term>Less Signal Fix Patch - <token>&less-signal_fix-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&less-signal_fix-patch;"/></para>
+ <para>MD5 sum: <literal>&less-signal_fix-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Linux Unifdef Patch - <token>&linux-unifdef-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&linux-unifdef-patch;"/></para>
diff --git a/chapter06/less.xml b/chapter06/less.xml
index 4dfacdbcc..3208835f8 100644
--- a/chapter06/less.xml
+++ b/chapter06/less.xml
@@ -34,6 +34,11 @@
<sect2 role="installation">
<title>Installation of Less</title>
+ <para>Apply a patch that prevents Less from using a deprecated function:
+ </para>
+
+<screen><userinput>patch -Np1 -i ../&less-signal_fix-patch;</userinput></screen>
+
<para>Prepare Less for compilation:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
diff --git a/patches.ent b/patches.ent
index cd189ec2a..6abc8c990 100644
--- a/patches.ent
+++ b/patches.ent
@@ -81,6 +81,11 @@
<!ENTITY kbd-gcc4_fixes-patch-size "1.4 KB">
+<!ENTITY less-signal_fix-patch "less-&less-version;-signal_fix-1.patch">
+<!ENTITY less-signal_fix-patch-md5 "ef8f5750b1ef047e6a06cd4ea23068b0">
+<!ENTITY less-signal_fix-patch-size "2.9 KB">
+
+
<!ENTITY linux-unifdef-patch "linux-&linux-version;-unifdef-1.patch">
<!ENTITY linux-unifdef-patch-md5 "7d6a92f0d10492e06a3275627377df86">
<!ENTITY linux-unifdef-patch-size "32 KB">