mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
pkgconf: Hotfix for a regression breaking BLFS packages
Link: https://github.com/pkgconf/pkgconf/issues/317
This commit is contained in:
parent
26d11785ec
commit
7de7690181
@ -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->why)/' cli/main.c</userinput></screen>
|
||||
|
||||
<para>Prepare Pkgconf for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
|
Loading…
Reference in New Issue
Block a user