diff options
author | Fabian Groffen <grobian@gentoo.org> | 2018-05-29 13:56:36 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2018-05-29 13:56:36 +0200 |
commit | 0e2881c279258517970855d2144b4dbb887aa050 (patch) | |
tree | 4380ed512d689961e578e8f6e9fe9b0e05210cc1 /dev-libs/libxml2 | |
parent | dev-libs/libunistring: Old. (diff) | |
download | gentoo-0e2881c279258517970855d2144b4dbb887aa050.tar.gz gentoo-0e2881c279258517970855d2144b4dbb887aa050.tar.bz2 gentoo-0e2881c279258517970855d2144b4dbb887aa050.zip |
dev-libs/libxml2: fix compilation with older GCC
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r-- | dev-libs/libxml2/libxml2-2.9.8.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/libxml2/libxml2-2.9.8.ebuild b/dev-libs/libxml2/libxml2-2.9.8.ebuild index 0d83dca0a9df..acf8d9ec815d 100644 --- a/dev-libs/libxml2/libxml2-2.9.8.ebuild +++ b/dev-libs/libxml2/libxml2-2.9.8.ebuild @@ -81,9 +81,11 @@ src_prepare() { # https://bugzilla.gnome.org/show_bug.cgi?id=760458 eapply "${FILESDIR}"/${PN}-2.9.2-python-ABIFLAG.patch - # Avoid final linking arguments for python modules if [[ ${CHOST} == *-darwin* ]] ; then + # Avoid final linking arguments for python modules sed -i -e '/PYTHON_LIBS/s/ldflags/libs/' configure.ac || die + # gcc-apple doesn't grok -Wno-array-bounds + sed -i -e 's/-Wno-array-bounds//' configure.ac || die fi # Please do not remove, as else we get references to PORTAGE_TMPDIR |