pkgconf: Hotfix for a regression breaking BLFS packages

Link: https://github.com/pkgconf/pkgconf/issues/317
This commit is contained in:
Xi Ruoyao 2023-09-07 19:56:27 +08:00
parent 26d11785ec
commit 7de7690181
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -43,15 +43,12 @@
<sect2 role="installation">
<title>Installation of Pkgconf</title>
<!--
<para>Pkgconf-2.0.0 explicitly errors when attempting to run
<option>- -modversion</option> with multiple arguments, even if these
arguments are constraints for the same package. This breaks many
packages in BLFS. Run this sed to reinstate the old
output for pkgconf:</para>
<screen><userinput remap="pre">sed -i '1330,1336s|^|//|' cli/main.c</userinput></screen>
-->
<!-- https://github.com/pkgconf/pkgconf/issues/317 -->
<para>Fix a regression in pkgconf-2.0.3 breaking BLFS packages:</para>
<screen><userinput remap="pre">sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg-&gt;why)/' cli/main.c</userinput></screen>
<para>Prepare Pkgconf for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \