dev-libs/libxml2: fix reader5.py test #565576
[gentoo.git] / dev-libs / libxml2 / libxml2-2.9.8.ebuild
index 1917e19e62840570b9cbe29506468c0282b75fb9..fbb37285cb7fcdfe4d6c2208f2ea20a5c1d3ade7 100644 (file)
@@ -81,6 +81,9 @@ src_prepare() {
        # https://bugzilla.gnome.org/show_bug.cgi?id=760458
        eapply "${FILESDIR}"/${PN}-2.9.2-python-ABIFLAG.patch
 
+       # Fix python tests when building out of tree #565576
+       eapply "${FILESDIR}"/${PN}-2.9.8-out-of-tree-test.patch
+
        if [[ ${CHOST} == *-darwin* ]] ; then
                # Avoid final linking arguments for python modules
                sed -i -e '/PYTHON_LIBS/s/ldflags/libs/' configure.ac || die