libarchive: adapt for glibc-2.36

This commit is contained in:
Xi Ruoyao 2022-08-07 19:05:31 +08:00
parent 8f1785c2ff
commit 59f900710e
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -98,13 +98,13 @@
<sect2 role="installation">
<title>Installation of libarchive</title>
<!--
<para>
First, adapt the test suite to changes in glibc-2.32:
First, adapt the package to changes in glibc-2.36:
</para>
<screen><userinput remap="pre">patch -Np1 -i ../libarchive-&libarchive-version;-testsuite_fix-1.patch</userinput></screen>
-->
<screen><userinput remap="pre">sed '/linux\/fs\.h/d' -i libarchive/archive_read_disk_posix.c</userinput></screen>
<para>
Install <application>libarchive</application> by running the following