mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
Added firefox-47.0.1-gcc6-1.patch to fix issues with GCC-6.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17546 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
68f9243be1
commit
6c4bb8f858
@ -1,12 +1,12 @@
|
||||
<!-- $LastChangedBy$ $Date$ -->
|
||||
|
||||
<!ENTITY day "02"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "03"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "07"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2016">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "July 2nd &year;">
|
||||
<!ENTITY releasedate "July 3rd &year;">
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
||||
|
@ -43,12 +43,21 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>July 3rd, 2016</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dj] - Added firefox-47.0.1-gcc6-1.patch. Fixes
|
||||
<ulink url="&blfs-ticket-root;8015">#8015</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>July 2nd, 2016</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dj] - Update to Firefox-47.0.1. Fixes
|
||||
<ulink url="&blfs-ticket-root;8015">#8015</ulink>.</para>
|
||||
<para>[dj] - Update to Firefox-47.0.1.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[dj] - Update to Thunderbird-45.2.0. Fixes
|
||||
|
@ -72,6 +72,12 @@
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch if using gcc-6 or later
|
||||
<ulink url="&patch-root;/firefox-&firefox-version;-gcc6-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch if using gtk+-3.20 or later (do not use with earlier versions)
|
||||
@ -275,6 +281,12 @@ EOF</userinput></screen>
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Fix an issue with GCC-6.0 and higher:
|
||||
</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-gcc6-1.patch</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you are using gtk+-3.20 or later, apply a patch to restore the
|
||||
slider on scrollbars:
|
||||
@ -297,16 +309,10 @@ EOF</userinput></screen>
|
||||
<envar>SHELL=/bin/sh</envar>.
|
||||
</para></note>
|
||||
|
||||
<screen><userinput>sed -e '/#include/i\
|
||||
print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
|
||||
-i nsprpub/config/make-system-wrappers.pl
|
||||
|
||||
sed -e '/#include/a\
|
||||
print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
|
||||
-i nsprpub/config/make-system-wrappers.pl
|
||||
|
||||
CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
<screen><userinput>export CFLAGS_HOLD=$CFLAGS &&
|
||||
export CXXFLAGS_HOLD=$CXXFLAGS &&
|
||||
export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
|
||||
export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
|
||||
|
||||
make -f client.mk</userinput></screen>
|
||||
|
||||
@ -322,7 +328,11 @@ make -f client.mk</userinput></screen>
|
||||
chown -R 0:0 /usr/lib/firefox-&firefox-version; &&
|
||||
|
||||
mkdir -pv /usr/lib/mozilla/plugins &&
|
||||
ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser</userinput></screen>
|
||||
ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser &&
|
||||
|
||||
export CFLAGS=$CFLAGS_HOLD &&
|
||||
export CXXFLAGS=$CXXFLAGS_HOLD &&
|
||||
unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user