Changeset 82a27795 for xsoft


Ignore:
Timestamp:
07/09/2016 07:31:24 PM (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:
eab4e26d
Parents:
fd9878e
Message:

Fix SeaMonkey build with GCC-6.1 and use internal SQLite.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17576 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
xsoft
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    rfd9878e r82a27795  
    8282    </itemizedlist>
    8383
     84    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     85    <itemizedlist spacing="compact">
     86      <listitem>
     87        <para>
     88          Required patch if using gcc-6 or later
     89          <ulink url="&patch-root;/seamonkey-&seamonkey-version;-gcc6-1.patch"/>
     90        </para>
     91      </listitem>
     92    </itemizedlist>
     93
    8494    <note>
    8595      <para>
     
    106116      <xref linkend="libevent"/>,
    107117      <xref linkend="libvpx"/>,
    108       <xref linkend="nspr"/>,
    109       <xref linkend="nss"/>, and
    110       <xref linkend="sqlite"/>
     118      <xref linkend="nspr"/>, and
     119      <xref linkend="nss"/><!--, and
     120      <xref linkend="sqlite"/>-->
     121    </para>
     122
     123    <bridgehead renderas="sect4">Optional</bridgehead>
     124    <para role="optional">
     125      <xref linkend="sqlite"/> (not recommended due to potential
     126      security concerns)
    111127    </para>
    112128
     
    203219# Comment out following options if you have not installed
    204220# recommended dependencies:
    205 ac_add_options --enable-system-sqlite
     221# Do not use system SQLite for SeaMonkey based on XUL-47
     222#ac_add_options --enable-system-sqlite
    206223ac_add_options --with-system-libevent
    207224ac_add_options --with-system-libvpx
     
    258275    <para>
    259276      Compile <application>SeaMonkey</application> by running the following
    260       command:
     277      commands:
    261278    </para>
    262279<!--  Should not be needed if Xorg setup instructions were followed
     
    268285    </note>
    269286-->
    270 <screen><userinput>make -f client.mk</userinput></screen>
     287    <para>
     288      Fix an issue with GCC-6.0 and higher:
     289    </para>
     290
     291<screen><userinput>patch -d mozilla/ -Np1 -i ../../seamonkey-&seamonkey-version;-gcc6-1.patch</userinput></screen>
     292
     293<screen><userinput>export CFLAGS_HOLD=$CFLAGS &amp;&amp;
     294export CXXFLAGS_HOLD=$CXXFLAGS &amp;&amp;
     295export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
     296export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
     297
     298make -f client.mk</userinput></screen>
    271299
    272300    <para>
     
    279307    </para>
    280308
    281 <screen role="root"><userinput>make  -f client.mk install INSTALL_SDK= &amp;&amp;
    282 chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version;    &amp;&amp;
    283 cp    -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
     309<screen role="root"><userinput>
     310make  -f client.mk install INSTALL_SDK=                              &amp;&amp;
     311chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version;                  &amp;&amp;
     312cp    -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1 &amp;&amp;
     313
     314export CFLAGS=$CFLAGS_HOLD &amp;&amp;
     315export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
     316unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
     317
    284318
    285319    <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
     
    302336      <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
    303337      of Makefile at the beginning of the build, where a file cannot be found.
     338    </para>
     339
     340    <para>
     341      <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
     342      settings work around code which gcc6 would otherwise regard as
     343      out-of-specification and allow it to produce a working program.
    304344    </para>
    305345
  • xsoft/other/thunderbird.xml

    rfd9878e r82a27795  
    134134      <xref linkend="openjdk"/>,
    135135      <xref linkend="pulseaudio"/>,
    136       <xref linkend="sqlite"/> (not recommended),
     136      <xref linkend="sqlite"/> (not recommended due to potential
     137      security concerns),
    137138      <xref linkend="startup-notification"/>,
    138139      <xref linkend="wget"/>,
Note: See TracChangeset for help on using the changeset viewer.