firefox-9.0 needs a patch to compile with libpng-1.5

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9128 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2011-12-20 20:55:31 +00:00
parent eb148eb13f
commit 5c79a93979

View File

@ -60,6 +60,14 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Required patch: <ulink
url="&patch-root;/firefox-&firefox-version;-libpng-1.5-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
@ -110,7 +118,8 @@
entire file and uncomment any other desired options. Create the file by
issuing the following command:</para>
<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
<screen><?dbfo keep-together="auto"?><userinput>patch -p1 &lt; ../firefox-9.0-libpng-1.5-1.patch &amp;&amp;
cat &gt; mozconfig &lt;&lt; "EOF"
# If you have a multicore machine you can speed up the build by running
# several jobs at once, but if you have a single core, delete this line:
mk_add_options MOZ_MAKE_FLAGS="-j4"
@ -182,7 +191,7 @@ make -f client.mk</userinput></screen>
package:</para>
<screen role="root"><userinput>mkdir /usr/lib/firefox-&firefox-version; &amp;&amp;
tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib/firefox-&firefox-version; --strip-components=1 &amp;&amp;
tar -xvf firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib/firefox-&firefox-version; --strip-components=1 &amp;&amp;
ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin/firefox &amp;&amp;
mkdir -p /usr/lib/mozilla/plugins &amp;&amp;
ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &amp;&amp;