Fix a bug in Less whereby the deprecated sigsetmask function was being used instead of sigprocmask

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7844 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2006-10-28 22:12:05 +00:00
parent ca54c1f42f
commit eb0d4d82f9
5 changed files with 28 additions and 0 deletions

View File

@ -39,6 +39,13 @@
<listitem> <listitem>
<para>2006-10-28</para> <para>2006-10-28</para>
<itemizedlist> <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> <listitem>
<para>[matthew] - Upgrade to IPRoute2-2.6.18-20061002.</para> <para>[matthew] - Upgrade to IPRoute2-2.6.18-20061002.</para>
</listitem> </listitem>

View File

@ -204,6 +204,9 @@
<listitem> <listitem>
<para>&bash-comment-patch;</para> <para>&bash-comment-patch;</para>
</listitem> </listitem>
<listitem>
<para>&less-signal_fix-patch;</para>
</listitem>
<listitem> <listitem>
<para>&linux-unifdef-patch;</para> <para>&linux-unifdef-patch;</para>
</listitem> </listitem>

View File

@ -154,6 +154,14 @@
</listitem> </listitem>
</varlistentry> </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> <varlistentry>
<term>Linux Unifdef Patch - <token>&linux-unifdef-patch-size;</token>:</term> <term>Linux Unifdef Patch - <token>&linux-unifdef-patch-size;</token>:</term>
<listitem> <listitem>

View File

@ -34,6 +34,11 @@
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Less</title> <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> <para>Prepare Less for compilation:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen> <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>

View File

@ -81,6 +81,11 @@
<!ENTITY kbd-gcc4_fixes-patch-size "1.4 KB"> <!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 "linux-&linux-version;-unifdef-1.patch">
<!ENTITY linux-unifdef-patch-md5 "7d6a92f0d10492e06a3275627377df86"> <!ENTITY linux-unifdef-patch-md5 "7d6a92f0d10492e06a3275627377df86">
<!ENTITY linux-unifdef-patch-size "32 KB"> <!ENTITY linux-unifdef-patch-size "32 KB">