aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-09-07 19:56:27 +0800
committerXi Ruoyao <xry111@xry111.site>2023-09-07 19:57:19 +0800
commit7de7690181b6336fbbb9cad1307715e613bfe6fc (patch)
tree454f4f3f3c9e59f3628fe93fd505a29ca3d64c3b
parent26d11785ec231ac43c3ce8fb392991064a4c3acd (diff)
pkgconf: Hotfix for a regression breaking BLFS packages
Link: https://github.com/pkgconf/pkgconf/issues/317
-rw-r--r--chapter08/pkgconf.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter08/pkgconf.xml b/chapter08/pkgconf.xml
index fd61b4d40..b95d7ab2c 100644
--- a/chapter08/pkgconf.xml
+++ b/chapter08/pkgconf.xml
@@ -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 \