Changeset 8b50732


Ignore:
Timestamp:
06/30/2016 12:43:00 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5e61060f
Parents:
292a840
Message:

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r292a840 r8b50732  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "28">                   <!-- Always 2 digits -->
     3<!ENTITY day          "30">                   <!-- Always 2 digits -->
    44<!ENTITY month        "06">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2016">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "June 28th &year;">
     9<!ENTITY releasedate  "June 30th &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r292a840 r8b50732  
    4545-->
    4646    <listitem>
     47      <para>June 30th, 2016</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[dj] - Complete fix for Thunderbird with GCC-6.1. Fixes
     51          <ulink url="&blfs-ticket-root;8006">#8006</ulink>.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[dj] - Use internal copy of SQLite for Thunderbird and remove
     55          -DSQLITE_ENABLE_FTS3_TOKENIZER=1 from SQLite instructions to avoid
     56           potential security vulnerability.</para>
     57        </listitem>
     58      </itemizedlist>
     59    </listitem>
     60
     61    <listitem>
    4762      <para>June 28th, 2016</para>
    4863      <itemizedlist>
     
    139154      <itemizedlist>
    140155        <listitem>
    141           <para>[dj] - Added build-fix for Thunderbird-45.1.1 with GCC-6.1.
    142           Fixes <ulink url="&blfs-ticket-root;8006">#8006</ulink>.</para>
     156          <para>[dj] - Added build-fix for Thunderbird-45.1.1 with
     157          GCC-6.1.</para>
    143158        </listitem>
    144159        <listitem>
  • server/databases/sqlite.xml

    r292a840 r8b50732  
    129129<screen><userinput>./configure --prefix=/usr --disable-static        \
    130130            CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \
    131             -DSQLITE_ENABLE_FTS3_TOKENIZER=1      \
    132131            -DSQLITE_ENABLE_COLUMN_METADATA=1     \
    133132            -DSQLITE_ENABLE_UNLOCK_NOTIFY=1       \
  • xsoft/other/thunderbird.xml

    r292a840 r8b50732  
    7878        <para>
    7979          Required patch, if building with gcc-6:
    80           <ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc6-1.patch"/>
     80          <ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc6-2.patch"/>
    8181        </para>
    8282      </listitem>
     
    9898      <xref linkend="libevent"/>,
    9999      <xref linkend="libvpx"/>,
    100       <xref linkend="nspr"/>,
    101       <xref linkend="nss"/>, and
     100      <xref linkend="nspr"/>, and
     101      <xref linkend="nss"/><!-- , and
    102102      <xref linkend="sqlite"/>
     103      Do not use system SQLite until TB-48/52 because it uses insecure
     104      routines (FTS3) that are not built in BLFS -->
    103105    </para>
    104106
     
    142144      <xref linkend="openjdk"/>,
    143145      <xref linkend="pulseaudio"/>,
     146      <xref linkend="sqlite"/> (not recommended),
    144147      <xref linkend="startup-notification"/>,
    145148      <xref linkend="wget"/>,
     
    204207# Comment out following options if you have not installed
    205208# recommended dependencies:
    206 ac_add_options --enable-system-sqlite
     209# Do not use system SQLite for Thunderbird 45.x
     210#ac_add_options --enable-system-sqlite
    207211ac_add_options --with-system-libevent
    208212ac_add_options --with-system-libvpx
     
    248252    <para>Fix some issues with GCC-6.1:</para>
    249253
    250 <screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc6-1.patch</userinput></screen>
     254<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc6-2.patch</userinput></screen>
    251255
    252256    <para>
     
    262266<screen><userinput>CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
    263267CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
     268export CFLAGS CXXFLAGS
    264269make -f client.mk</userinput></screen>
    265270
Note: See TracChangeset for help on using the changeset viewer.