Add a patch to libxml2, to prevent segfaults in itstool when the python

module is built with Python3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19528 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2017-11-24 09:15:03 +00:00
parent 8f31479b87
commit cc2643e1a2
3 changed files with 25 additions and 8 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "22"> <!-- Always 2 digits -->
<!ENTITY day "23"> <!-- Always 2 digits -->
<!ENTITY month "11"> <!-- Always 2 digits -->
<!ENTITY year "2017">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "November 22nd, &year;">
<!ENTITY releasedate "November 23rd, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->

View File

@ -81,13 +81,13 @@
enables <command>make check</command> to do complete testing.
</para>
</listitem>
<!-- All CVEs seem to have been applied in 2.9.4
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/libxml2-&libxml2-version;-security_fixes-1.patch"/>
Recommended patch to prevent a segfault in itstool when using Python3:
<ulink url="&patch-root;/libxml2-&libxml2-version;-python3_hack-1.patch"/>
</para>
</listitem>-->
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
@ -130,8 +130,15 @@
<sect2 role="installation">
<title>Installation of libxml2</title>
<para>
To ensure that the <application>Python3</application> module can be
<para>
First apply a patch, which prevents segfaults in the Python module, when
built by <xref linkend="python3"/>:
</para>
<screen><userinput>patch -Np1 -i ../libxml2-&libxml2-version;-python3_hack-1.patch</userinput></screen>
<para>
To ensure that the <application>Python</application> module can be
built by <xref linkend="python3"/>, run:
</para>

View File

@ -41,6 +41,16 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>November 23rd, 2017</para>
<itemizedlist>
<listitem>
<para>[pierre] - Patch libxml2, to prevent segfaults in itstool
in some cases.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>November 22nd, 2017</para>
<itemizedlist>