Changeset 0f48e3a for x/lib/freeglut.xml


Ignore:
Timestamp:
05/19/2020 02:56:11 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
65a15acc
Parents:
158da04
Message:

Patch freeglut for GCC 10

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/freeglut.xml

    r158da04 r0f48e3a  
    1010  <!ENTITY freeglut-md5sum        "cd5c670c1086358598a6d4a9d166949d">
    1111  <!ENTITY freeglut-size          "432 KB">
    12   <!ENTITY freeglut-buildsize     "4.6 MB">
     12  <!ENTITY freeglut-buildsize     "5.0 MB">
    1313  <!ENTITY freeglut-time          "less than 0.1 SBU">
    1414]>
     
    7575    </itemizedlist>
    7676
     77    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     78    <itemizedlist spacing="compact">
     79      <listitem>
     80        <para>
     81          Required patch:
     82          <ulink url="&patch-root;/freeglut-&freeglut-version;-gcc10_fix-1.patch"/>
     83        </para>
     84      </listitem>
     85    </itemizedlist>
     86
    7787    <bridgehead renderas="sect3">Freeglut Dependencies</bridgehead>
    7888
     
    97107
    98108    <para>
     109      First, fix an issue with multiply defined symbols exposed by GCC-10:
     110    </para>
     111
     112<screen><userinput>patch -Np1 -i ../freeglut-&freeglut-version;-gcc10_fix-1.patch</userinput></screen>
     113    <para>
    99114      Install <application>Freeglut</application> by running the
    100115      following commands:
     
    104119cd    build &amp;&amp;
    105120
    106 CFLAGS="$CFLAGS -fcommon"               \
    107121cmake -DCMAKE_INSTALL_PREFIX=/usr       \
    108122      -DCMAKE_BUILD_TYPE=Release        \
     
    128142  <sect2 role="commands">
    129143    <title>Command Explanations</title>
    130 <!-- remove the followind and the corresponding switch in cmake command
    131      when upstream fix is applied. -->
    132     <para>
    133       <parameter>CFLAGS="$CFLAGS -fcommon"</parameter>: Fix building with
    134       GCC-10 and later.
    135     </para>
    136144
    137145    <para>
Note: See TracChangeset for help on using the changeset viewer.