Changeset 110854d


Ignore:
Timestamp:
05/09/2020 08:50:03 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:
4c22625
Parents:
05a433b
Message:

Fix systemd and gpm for gcc 10

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r05a433b r110854d  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "08">                   <!-- Always 2 digits -->
     3<!ENTITY day          "09">                   <!-- Always 2 digits -->
    44<!ENTITY month        "05">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2020">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "May 8th, &year;">
     9<!ENTITY releasedate  "May 9th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/sysutils/gpm.xml

    r05a433b r110854d  
    114114    <title>Installation of GPM</title>
    115115
     116    <para>
     117      First, fix building with gcc-10.1 and later versions:
     118    </para>
     119
     120<screen><userinput>sed -e '/last_selection_time/s/^/extern /' \
     121    -i src/headers/daemon.h</userinput></screen>
    116122
    117123    <para>
  • general/sysutils/systemd.xml

    r05a433b r110854d  
    169169cd    build &amp;&amp;
    170170
    171 meson --prefix=/usr         \
    172       --sysconfdir=/etc     \
    173       --localstatedir=/var  \
    174       -Dblkid=true          \
    175       -Dbuildtype=release   \
    176       -Ddefault-dnssec=no   \
    177       -Dfirstboot=false     \
    178       -Dinstall-tests=false \
    179       -Dldconfig=false      \
    180       -Dman=auto            \
    181       -Drootprefix=         \
    182       -Drootlibdir=/lib     \
    183       -Dsplit-usr=true      \
    184       -Dsysusers=false      \
    185       -Drpmmacrosdir=no     \
    186       -Db_lto=false         \
    187       -Dhomed=false         \
    188       -Duserdb=false        \
    189       ..                    &amp;&amp;
     171meson --prefix=/usr                 \
     172      --sysconfdir=/etc             \
     173      --localstatedir=/var          \
     174      -Dc_args=-Wno-format-overflow \
     175      -Dblkid=true                  \
     176      -Dbuildtype=release           \
     177      -Ddefault-dnssec=no           \
     178      -Dfirstboot=false             \
     179      -Dinstall-tests=false         \
     180      -Dldconfig=false              \
     181      -Dman=auto                    \
     182      -Drootprefix=                 \
     183      -Drootlibdir=/lib             \
     184      -Dsplit-usr=true              \
     185      -Dsysusers=false              \
     186      -Drpmmacrosdir=no             \
     187      -Db_lto=false                 \
     188      -Dhomed=false                 \
     189      -Duserdb=false                \
     190      ..                            &amp;&amp;
    190191
    191192ninja</userinput></screen>
     
    240241  <sect2 role="commands">
    241242    <title>Command Explanations</title>
     243
     244    <para>
     245      <parameter>-Dc_args=-Wno-format-overflow</parameter>: Prevents an error
     246      when building with <application>GCC 10</application>. The default is
     247      <option>-Werror=format-overflow</option>,
     248      which generates false positives. This switch may be used with previous
     249      versions of GCC too.
     250    </para>
    242251
    243252    <para>
  • introduction/welcome/changelog.xml

    r05a433b r110854d  
    4343    -->
    4444    <listitem>
     45      <para>May 9th, 2020</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[pierre] - Fix building gpm with GCC 10.</para>
     49        </listitem>
     50        <listitem revision="systemd">
     51          <para>[pierre] - Fix building systemd with GCC 10.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4557      <para>May 8th, 2020</para>
    4658      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.