aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/ncurses.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/ncurses.xml')
-rw-r--r--chapter05/ncurses.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml
index a18a9c819..336172b59 100644
--- a/chapter05/ncurses.xml
+++ b/chapter05/ncurses.xml
@@ -43,6 +43,11 @@
<sect2 role="installation">
<title>Installation of Ncurses</title>
+ <para>First, apply a patch to prevent a build failure
+ when building with GCC 5:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen>
+
<para>Prepare Ncurses for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools \