diff --git a/chapter08/gettext.xml b/chapter08/gettext.xml index f26d15536..d8fbc8f20 100644 --- a/chapter08/gettext.xml +++ b/chapter08/gettext.xml @@ -43,6 +43,14 @@ Installation of Gettext + At first, fix an issue causing the package fail to build with + libxml-2.12 or later. The fix is optional for building LFS, but + required if rebuilding this package in BLFS with libxml + installed: + +sed -e '/^structured/s/xmlError \*/typeof(xmlCtxtGetLastError(NULL)) /' \ + -i gettext-tools/src/its.c + Prepare Gettext for compilation: ./configure --prefix=/usr \ diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 30ac59119..de7ce92be 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -45,8 +45,9 @@ sgx, from the default udev rules: - sed -i -e 's/GROUP="render"/GROUP="video"/' \ - -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in + sed -e 's/GROUP="render"/GROUP="video"/' \ + -e 's/GROUP="sgx", //' \ + -i rules.d/50-udev-default.rules.in Prepare systemd for compilation: