diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-09-07 19:56:27 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-09-07 19:57:19 +0800 |
commit | 7de7690181b6336fbbb9cad1307715e613bfe6fc (patch) | |
tree | 454f4f3f3c9e59f3628fe93fd505a29ca3d64c3b | |
parent | 26d11785ec231ac43c3ce8fb392991064a4c3acd (diff) |
pkgconf: Hotfix for a regression breaking BLFS packages
Link: https://github.com/pkgconf/pkgconf/issues/317
-rw-r--r-- | chapter08/pkgconf.xml | 15 |
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->why)/' cli/main.c</userinput></screen> + <para>Prepare Pkgconf for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ |