Added gcc34 patch to OpenSP to fix a build problem when using GCC-3.4.x

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2501 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2004-07-27 06:38:10 +00:00
parent df4e00d783
commit f3ed6a7575
2 changed files with 18 additions and 9 deletions

View File

@ -19,7 +19,8 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>July 27th, 2004 [randy]: Added pkgconfig as an optional
dependency of XFree86 and Xorg.</para></listitem>
dependency of XFree86 and Xorg; added gcc34 patch to OpenSP to fix a build
problem with GCC-3.4.x.</para></listitem>
<listitem><para>July 25th, 2004 [randy]: Fixed patch name in ed
instructions.</para></listitem>

View File

@ -38,7 +38,10 @@ url="&opensp-download-ftp;"/></para></listitem>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch: <ulink url="&patch-root;/OpenSP-&opensp-version;-LITLEN-1.patch"/></para></listitem>
<listitem><para>Required Patch: <ulink
url="&patch-root;/OpenSP-&opensp-version;-LITLEN-1.patch"/></para></listitem>
<listitem><para>Required Patch: <ulink
url="&patch-root;/OpenSP-&opensp-version;-gcc34-1.patch"/></para></listitem>
</itemizedlist></sect3>
<sect3><title><application>OpenSP</application> dependencies</title>
@ -51,15 +54,12 @@ url="&opensp-download-ftp;"/></para></listitem>
<sect2>
<title>Installation of <application>OpenSP</application></title>
<para>This patch removes some annoying messages that can appear while
running <command>openjade</command>:</para>
<screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN-1.patch</command></userinput></screen>
<para>Install <application>OpenSP</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr --disable-static --enable-http \
<screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN-1.patch &amp;&amp;
patch -Np1 -i ../OpenSP-&opensp-version;-gcc34-1.patch &amp;&amp;
./configure --prefix=/usr --disable-static --enable-http \
--enable-default-catalog=/etc/sgml/catalog \
--enable-default-search-path=/usr/share/sgml &amp;&amp;
make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; &amp;&amp;
@ -89,6 +89,14 @@ install-catalog --remove /etc/sgml/sgml-docbook.cat \
<sect2>
<title>Command explanations</title>
<para><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN-1.patch</command>:
This patch removes some annoying messages that can appear while running
<command>openjade</command></para>
<para><command>patch -Np1 -i ../OpenSP-&opensp-version;-gcc34-1.patch</command>:
This patch fixes a build problem when using
<application>GCC</application>-3.4.x.</para>
<para><option>--disable-static</option>: This switch prevents
the building of the static library.</para>
@ -98,7 +106,7 @@ for <acronym>HTTP</acronym>.</para>
<para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>: This
switch sets the path to the centralized catalog.</para>
<para><option>--enable-default-search-path</option>: This switch
<para><parameter>--enable-default-search-path</parameter>: This switch
sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
<para><option>--enable-xml-messages</option>: This switch adds