Changeset 7c42137


Ignore:
Timestamp:
05/10/2023 07:23:55 AM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
f935d0d
Parents:
516e46e3
git-author:
Xi Ruoyao <xry111@…> (05/10/2023 07:11:10 AM)
git-committer:
Xi Ruoyao <xry111@…> (05/10/2023 07:23:55 AM)
Message:

systemd: Fix runtime issue exploited by GCC 13

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/systemd.xml

    r516e46e3 r7c42137  
    166166<screen><userinput>patch -Np1 -i ../systemd-&systemd-version;-security_fix-1.patch</userinput></screen>
    167167-->
     168
     169    <para>
     170      Remove several inappropriate uses of the <literal>pure</literal>
     171      attribute or they'd cause runtime issues when the package is built
     172      with GCC 13 or later:
     173    </para>
     174
     175<screen><userinput>sed '/bus_message_type_from_string/s/_pure_//' \
     176    -i src/libsystemd/sd-bus/bus-internal.h    &amp;&amp;
     177sed '/devt_hash_func/s/_pure_//'               \
     178    -i src/basic/hash-funcs.h                  &amp;&amp;
     179sed '/job_get_timeout/s/_pure_//'              \
     180    -i src/core/job.h</userinput></screen>
     181
    168182    <para>
    169183      Remove two unneeded groups,
Note: See TracChangeset for help on using the changeset viewer.