Author: matthew Date: 2006-10-28 16:12:05 -0600 (Sat, 28 Oct 2006) New Revision: 7844
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter01/whatsnew.xml trunk/BOOK/chapter03/patches.xml trunk/BOOK/chapter06/less.xml trunk/BOOK/patches.ent Log: Fix a bug in Less whereby the deprecated sigsetmask function was being used instead of sigprocmask Modified: trunk/BOOK/chapter01/changelog.xml =================================================================== --- trunk/BOOK/chapter01/changelog.xml 2006-10-28 22:10:48 UTC (rev 7843) +++ trunk/BOOK/chapter01/changelog.xml 2006-10-28 22:12:05 UTC (rev 7844) @@ -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> Modified: trunk/BOOK/chapter01/whatsnew.xml =================================================================== --- trunk/BOOK/chapter01/whatsnew.xml 2006-10-28 22:10:48 UTC (rev 7843) +++ trunk/BOOK/chapter01/whatsnew.xml 2006-10-28 22:12:05 UTC (rev 7844) @@ -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> Modified: trunk/BOOK/chapter03/patches.xml =================================================================== --- trunk/BOOK/chapter03/patches.xml 2006-10-28 22:10:48 UTC (rev 7843) +++ trunk/BOOK/chapter03/patches.xml 2006-10-28 22:12:05 UTC (rev 7844) @@ -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> Modified: trunk/BOOK/chapter06/less.xml =================================================================== --- trunk/BOOK/chapter06/less.xml 2006-10-28 22:10:48 UTC (rev 7843) +++ trunk/BOOK/chapter06/less.xml 2006-10-28 22:12:05 UTC (rev 7844) @@ -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> Modified: trunk/BOOK/patches.ent =================================================================== --- trunk/BOOK/patches.ent 2006-10-28 22:10:48 UTC (rev 7843) +++ trunk/BOOK/patches.ent 2006-10-28 22:12:05 UTC (rev 7844) @@ -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"> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page