mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
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:
parent
fb9298b4f2
commit
09c3df0859
@ -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 &&
|
||||
patch -Np1 -i ../tcp_wrappers-&tcpwrappers-version;-gcc34-1.patch &&
|
||||
sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
|
||||
make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux &&
|
||||
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>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!ENTITY day "27">
|
||||
<!ENTITY day "28">
|
||||
<!ENTITY month "02">
|
||||
<!ENTITY year "2005">
|
||||
<!ENTITY version "svn-&year;&month;&day;">
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user