Changeset 740ee46


Ignore:
Timestamp:
05/10/2023 08:26:26 AM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
6d4ba5f
Parents:
9ae3d8a
git-author:
Xi Ruoyao <xry111@…> (05/10/2023 08:25:04 AM)
git-committer:
Xi Ruoyao <xry111@…> (05/10/2023 08:26:26 AM)
Message:

systemd: Fix runtime issues exploited by GCC 13 (#5254)

Switch to "meson setup" from the plain "meson" by the way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    r9ae3d8a r740ee46  
    4141    <title>Installation of systemd</title>
    4242
     43    <para>
     44      Remove several inappropriate uses of the <literal>pure</literal>
     45      attribute or they'd cause runtime issues when the package is built
     46      with GCC 13 or later:
     47    </para>
     48
     49<screen><userinput remap='pre'>sed '/bus_message_type_from_string/s/_pure_//' \
     50    -i src/libsystemd/sd-bus/bus-internal.h    &amp;&amp;
     51sed '/devt_hash_func/s/_pure_//'               \
     52    -i src/basic/hash-funcs.h                  &amp;&amp;
     53sed '/job_get_timeout/s/_pure_//'              \
     54    -i src/core/job.h</userinput></screen>
     55
    4356    <para>Remove two unneeded groups,
    4457    <systemitem class="groupname">render</systemitem> and
     
    5467cd       build
    5568
    56 meson --prefix=/usr                 \
     69meson setup \
     70      --prefix=/usr                 \
    5771      --buildtype=release           \
    5872      -Ddefault-dnssec=no           \
Note: See TracChangeset for help on using the changeset viewer.