From cc2643e1a282ad14cb0d6732ce670c997f02cbd2 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 24 Nov 2017 09:15:03 +0000 Subject: [PATCH] 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 --- general.ent | 4 ++-- general/genlib/libxml2.xml | 19 +++++++++++++------ introduction/welcome/changelog.xml | 10 ++++++++++ 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/general.ent b/general.ent index 4dde74367c..b1a54973e6 100644 --- a/general.ent +++ b/general.ent @@ -1,12 +1,12 @@ - + - + diff --git a/general/genlib/libxml2.xml b/general/genlib/libxml2.xml index 2e6ff7bfaa..5a80a87689 100644 --- a/general/genlib/libxml2.xml +++ b/general/genlib/libxml2.xml @@ -81,13 +81,13 @@ enables make check to do complete testing. - + libxml2 Dependencies @@ -130,8 +130,15 @@ Installation of libxml2 - - To ensure that the Python3 module can be + + First apply a patch, which prevents segfaults in the Python module, when + built by : + + +patch -Np1 -i ../libxml2-&libxml2-version;-python3_hack-1.patch + + + To ensure that the Python module can be built by , run: diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 921e0d62f4..5c87627d6e 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -41,6 +41,16 @@ --> + + November 23rd, 2017 + + + [pierre] - Patch libxml2, to prevent segfaults in itstool + in some cases. + + + + November 22nd, 2017