Add a sed to fix an issue introduced with glibc-2.34

This commit is contained in:
Thomas Trepl (Moody) 2021-08-14 18:46:40 +02:00
parent ba9f84c92d
commit ab7470e25a

View File

@ -125,6 +125,13 @@ useradd -c "Network Time Protocol" -d /var/lib/ntp -u 87 \
<screen><userinput>sed -e 's/"(\\S+)"/"?([^\\s"]+)"?/' \
-i scripts/update-leap/update-leap.in</userinput></screen>
<para>
Now fix an issue introduced with glibc-2.34:
</para>
<screen><userinput>sed -e 's/#ifndef __sun/#if !defined(__sun) \&amp;\&amp; !defined(__GLIBC__)/' \
-i libntp/work_thread.c</userinput></screen>
<para>
Install <application>ntp</application> by running
the following commands: