diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-08-02 23:26:21 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-08-02 23:26:21 +0800 |
commit | 5d5b9c8089c507c390406ee870280be8d782e3d7 (patch) | |
tree | dafbfd3d396ffa9ebe9f1c154df4ef971d402372 | |
parent | 151f93753d83919a5dcce49ab397220dc4ab9713 (diff) |
texinfo: add workaround for glibc-2.34
-rw-r--r-- | chapter07/texinfo.xml | 6 | ||||
-rw-r--r-- | chapter08/texinfo.xml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/chapter07/texinfo.xml b/chapter07/texinfo.xml index af7d5ab30..1de063424 100644 --- a/chapter07/texinfo.xml +++ b/chapter07/texinfo.xml @@ -43,6 +43,12 @@ <sect2 role="installation"> <title>Installation of Texinfo</title> + <para>At first, fix an issue building the package with Glibc-2.34 or + later:</para> + +<screen><userinput remap="pre">sed 's/__attribute_nonnull__/__nonnull/' \ + -i gnulib/lib/malloc/dynarray-skeleton.c</userinput></screen> + <para>Prepare Texinfo for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> diff --git a/chapter08/texinfo.xml b/chapter08/texinfo.xml index 9cbbda6a6..a0c5ca54b 100644 --- a/chapter08/texinfo.xml +++ b/chapter08/texinfo.xml @@ -41,6 +41,12 @@ <sect2 role="installation"> <title>Installation of Texinfo</title> + <para>At first, fix an issue building the package with Glibc-2.34 or + later:</para> + +<screen><userinput remap="pre">sed 's/__attribute_nonnull__/__nonnull/' \ + -i gnulib/lib/malloc/dynarray-skeleton.c</userinput></screen> + <para>Prepare Texinfo for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> |