From 5d5b9c8089c507c390406ee870280be8d782e3d7 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 2 Aug 2021 23:26:21 +0800 Subject: texinfo: add workaround for glibc-2.34 --- chapter07/texinfo.xml | 6 ++++++ chapter08/texinfo.xml | 6 ++++++ 2 files changed, 12 insertions(+) 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 @@ Installation of Texinfo + At first, fix an issue building the package with Glibc-2.34 or + later: + +sed 's/__attribute_nonnull__/__nonnull/' \ + -i gnulib/lib/malloc/dynarray-skeleton.c + Prepare Texinfo for compilation: ./configure --prefix=/usr 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 @@ Installation of Texinfo + At first, fix an issue building the package with Glibc-2.34 or + later: + +sed 's/__attribute_nonnull__/__nonnull/' \ + -i gnulib/lib/malloc/dynarray-skeleton.c + Prepare Texinfo for compilation: ./configure --prefix=/usr -- cgit v1.2.3-54-g00ecf