mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
systemd: Fix runtime issues exploited by GCC 13 (#5254)
Switch to "meson setup" from the plain "meson" by the way.
This commit is contained in:
parent
9ae3d8ad31
commit
740ee46aef
@ -40,6 +40,19 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of systemd</title>
|
||||
|
||||
<para>
|
||||
Remove several inappropriate uses of the <literal>pure</literal>
|
||||
attribute or they'd cause runtime issues when the package is built
|
||||
with GCC 13 or later:
|
||||
</para>
|
||||
|
||||
<screen><userinput remap='pre'>sed '/bus_message_type_from_string/s/_pure_//' \
|
||||
-i src/libsystemd/sd-bus/bus-internal.h &&
|
||||
sed '/devt_hash_func/s/_pure_//' \
|
||||
-i src/basic/hash-funcs.h &&
|
||||
sed '/job_get_timeout/s/_pure_//' \
|
||||
-i src/core/job.h</userinput></screen>
|
||||
|
||||
<para>Remove two unneeded groups,
|
||||
<systemitem class="groupname">render</systemitem> and
|
||||
<systemitem class="groupname">sgx</systemitem>, from the default udev
|
||||
@ -53,7 +66,8 @@
|
||||
<screen><userinput remap="configure">mkdir -p build
|
||||
cd build
|
||||
|
||||
meson --prefix=/usr \
|
||||
meson setup \
|
||||
--prefix=/usr \
|
||||
--buildtype=release \
|
||||
-Ddefault-dnssec=no \
|
||||
-Dfirstboot=false \
|
||||
|
Loading…
Reference in New Issue
Block a user