Changed the tcp_wrappers instructions to use a sed command instead of a GCC-34 patch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3505 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-02-28 04:34:33 +00:00
parent fb9298b4f2
commit 09c3df0859
3 changed files with 18 additions and 8 deletions

View File

@ -43,12 +43,10 @@ url="&tcpwrappers-download-ftp;"/></para></listitem>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch (Fixes some build issues and adds building of a shared library):
<ulink url="&patch-root;/tcp_wrappers-&tcpwrappers-version;-shared_lib_plus_plus-1.patch"/></para>
</listitem>
<listitem><para>Required Patch (If compiled using <application>GCC</application>-3.4.x):
<ulink url="&patch-root;/tcp_wrappers-&tcpwrappers-version;-gcc34-1.patch"/></para>
</listitem>
<listitem><para>Required Patch (Fixes some build issues and adds building of a
shared library): <ulink
url="&patch-root;/tcp_wrappers-&tcpwrappers-version;-shared_lib_plus_plus-1.patch"/>
</para></listitem>
</itemizedlist>
</sect3>
@ -61,12 +59,21 @@ url="&tcpwrappers-download-ftp;"/></para></listitem>
commands:</para>
<screen><userinput><command>patch -Np1 -i ../tcp_wrappers-&tcpwrappers-version;-shared_lib_plus_plus-1.patch &amp;&amp;
patch -Np1 -i ../tcp_wrappers-&tcpwrappers-version;-gcc34-1.patch &amp;&amp;
sed -i -e "s,^extern char \*malloc();,/* &amp; */," scaffold.c
make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><command>sed -i -e ... scaffold.c</command>: This command removes an
obsolete C declaration which causes the build to fail if using
<application><acronym>GCC</acronym>-3.4.x</application>.</para>
</sect2>
<sect2>
<title>Configuring <application>tcpwrappers</application></title>

View File

@ -1,4 +1,4 @@
<!ENTITY day "27">
<!ENTITY day "28">
<!ENTITY month "02">
<!ENTITY year "2005">
<!ENTITY version "svn-&year;&month;&day;">

View File

@ -22,6 +22,9 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>February 28th, 2005 [randy]: Changed the tcp_wrappers
instructions to use a sed command instead of a GCC-34 patch.</para></listitem>
<listitem><para>February 27th, 2005 [randy]: Added dependencies and
instructions to run the test suite for GCC-3 and a minor update to J2SDK
dependencies description; added a cd command to the ALSA lib instructions to