Ignore:
Timestamp:
01/04/2023 08:10:58 PM (21 months ago)
Author:
Ken Moffat <ken@…>
Branches:
11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128, xry111/xf86-video-removal
Children:
6ad6bac
Parents:
811d39b
Message:

Fix building libreoffice with system boost.

Apply a sed to boost (or if already built, the installed
header can be edited).

Apply a patch to libreoffice for a different change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/boost.xml

    r811d39b r06c23e6  
    102102  <sect2 role="installation">
    103103    <title>Installation of Boost</title>
     104
     105    <para>
     106      A change in this version of <application>boost</application> breaks
     107      the few packages which use the <application>phoenix</application>
     108      module when compiled with current <application>GCC</application>. In BLFS,
     109      that affects <xref linkend="libreoffice"/>. Fix this with the following
     110      command:
     111    </para>
     112
     113<screen><userinput>sed -i '/#include.*phoenix.*tuple.hpp.*/d' \
     114  boost/phoenix/stl.hpp</userinput></screen>
    104115
    105116    <para>
     
    157168  <sect2 role="commands">
    158169    <title>Command Explanations</title>
     170
     171    <para>
     172      <parameter>sed -i '/#include ...</parameter>: This removes the inclusion
     173      of <filename>boost/phoenix/stl/tuple.hpp</filename> from this header-only
     174      library, allowing applications which use it to link using recent C++.
     175      <!-- FIXME: remove before 11.3 is we still use 1.81.0 and LO-7.4,
     176      this alternative is only for people working through the development book.-->
     177      An alternative is to edit
     178      <filename>/usr/include/boost/phoenix/stl.hpp</filename> if this version of
     179      boost has already been installed without this <command>sed</command>.
     180    </para>
    159181
    160182    <para>
Note: See TracChangeset for help on using the changeset viewer.