mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Fix Thunderbird build with GCC again, remove FTS3_TOKENIZER define from SQLite, and build Thunderbird with internal SQLite.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17539 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
292a840a0d
commit
8b50732720
@ -1,12 +1,12 @@
|
|||||||
<!-- $LastChangedBy$ $Date$ -->
|
<!-- $LastChangedBy$ $Date$ -->
|
||||||
|
|
||||||
<!ENTITY day "28"> <!-- Always 2 digits -->
|
<!ENTITY day "30"> <!-- Always 2 digits -->
|
||||||
<!ENTITY month "06"> <!-- Always 2 digits -->
|
<!ENTITY month "06"> <!-- Always 2 digits -->
|
||||||
<!ENTITY year "2016">
|
<!ENTITY year "2016">
|
||||||
<!ENTITY copyrightdate "2001-&year;">
|
<!ENTITY copyrightdate "2001-&year;">
|
||||||
<!ENTITY copyholder "The BLFS Development Team">
|
<!ENTITY copyholder "The BLFS Development Team">
|
||||||
<!ENTITY version "&year;-&month;-&day;">
|
<!ENTITY version "&year;-&month;-&day;">
|
||||||
<!ENTITY releasedate "June 28th &year;">
|
<!ENTITY releasedate "June 30th &year;">
|
||||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||||
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
||||||
|
@ -43,6 +43,21 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
<listitem>
|
||||||
|
<para>June 30th, 2016</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[dj] - Complete fix for Thunderbird with GCC-6.1. Fixes
|
||||||
|
<ulink url="&blfs-ticket-root;8006">#8006</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>[dj] - Use internal copy of SQLite for Thunderbird and remove
|
||||||
|
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 from SQLite instructions to avoid
|
||||||
|
potential security vulnerability.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>June 28th, 2016</para>
|
<para>June 28th, 2016</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
@ -138,8 +153,8 @@
|
|||||||
<para>June 26th, 2016</para>
|
<para>June 26th, 2016</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[dj] - Added build-fix for Thunderbird-45.1.1 with GCC-6.1.
|
<para>[dj] - Added build-fix for Thunderbird-45.1.1 with
|
||||||
Fixes <ulink url="&blfs-ticket-root;8006">#8006</ulink>.</para>
|
GCC-6.1.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[renodr] - Update to vala-0.32.1. Fixes
|
<para>[renodr] - Update to vala-0.32.1. Fixes
|
||||||
|
@ -128,7 +128,6 @@
|
|||||||
|
|
||||||
<screen><userinput>./configure --prefix=/usr --disable-static \
|
<screen><userinput>./configure --prefix=/usr --disable-static \
|
||||||
CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \
|
CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \
|
||||||
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
|
|
||||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
|
||||||
-DSQLITE_SECURE_DELETE=1 \
|
-DSQLITE_SECURE_DELETE=1 \
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Required patch, if building with gcc-6:
|
Required patch, if building with gcc-6:
|
||||||
<ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc6-1.patch"/>
|
<ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc6-2.patch"/>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
@ -97,9 +97,11 @@
|
|||||||
<para role="recommended">
|
<para role="recommended">
|
||||||
<xref linkend="libevent"/>,
|
<xref linkend="libevent"/>,
|
||||||
<xref linkend="libvpx"/>,
|
<xref linkend="libvpx"/>,
|
||||||
<xref linkend="nspr"/>,
|
<xref linkend="nspr"/>, and
|
||||||
<xref linkend="nss"/>, and
|
<xref linkend="nss"/><!-- , and
|
||||||
<xref linkend="sqlite"/>
|
<xref linkend="sqlite"/>
|
||||||
|
Do not use system SQLite until TB-48/52 because it uses insecure
|
||||||
|
routines (FTS3) that are not built in BLFS -->
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
@ -141,6 +143,7 @@
|
|||||||
<xref linkend="gst10-libav"/> at runtime),
|
<xref linkend="gst10-libav"/> at runtime),
|
||||||
<xref linkend="openjdk"/>,
|
<xref linkend="openjdk"/>,
|
||||||
<xref linkend="pulseaudio"/>,
|
<xref linkend="pulseaudio"/>,
|
||||||
|
<xref linkend="sqlite"/> (not recommended),
|
||||||
<xref linkend="startup-notification"/>,
|
<xref linkend="startup-notification"/>,
|
||||||
<xref linkend="wget"/>,
|
<xref linkend="wget"/>,
|
||||||
<xref linkend="wireless_tools"/>, and
|
<xref linkend="wireless_tools"/>, and
|
||||||
@ -203,7 +206,8 @@ ac_add_options --disable-gconf
|
|||||||
|
|
||||||
# Comment out following options if you have not installed
|
# Comment out following options if you have not installed
|
||||||
# recommended dependencies:
|
# recommended dependencies:
|
||||||
ac_add_options --enable-system-sqlite
|
# Do not use system SQLite for Thunderbird 45.x
|
||||||
|
#ac_add_options --enable-system-sqlite
|
||||||
ac_add_options --with-system-libevent
|
ac_add_options --with-system-libevent
|
||||||
ac_add_options --with-system-libvpx
|
ac_add_options --with-system-libvpx
|
||||||
ac_add_options --with-system-nspr
|
ac_add_options --with-system-nspr
|
||||||
@ -247,7 +251,7 @@ EOF</userinput></screen>
|
|||||||
test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
|
test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
|
||||||
<para>Fix some issues with GCC-6.1:</para>
|
<para>Fix some issues with GCC-6.1:</para>
|
||||||
|
|
||||||
<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc6-1.patch</userinput></screen>
|
<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc6-2.patch</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Compile <application>Thunderbird</application> by issuing the following
|
Compile <application>Thunderbird</application> by issuing the following
|
||||||
@ -261,6 +265,7 @@ test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozcon
|
|||||||
|
|
||||||
<screen><userinput>CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
<screen><userinput>CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||||
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||||
|
export CFLAGS CXXFLAGS
|
||||||
make -f client.mk</userinput></screen>
|
make -f client.mk</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user