1 |
commit: 0e2881c279258517970855d2144b4dbb887aa050 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 29 11:56:36 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 29 11:56:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2881c2 |
7 |
|
8 |
dev-libs/libxml2: fix compilation with older GCC |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/libxml2/libxml2-2.9.8.ebuild | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-libs/libxml2/libxml2-2.9.8.ebuild b/dev-libs/libxml2/libxml2-2.9.8.ebuild |
16 |
index 0d83dca0a9d..acf8d9ec815 100644 |
17 |
--- a/dev-libs/libxml2/libxml2-2.9.8.ebuild |
18 |
+++ b/dev-libs/libxml2/libxml2-2.9.8.ebuild |
19 |
@@ -81,9 +81,11 @@ src_prepare() { |
20 |
# https://bugzilla.gnome.org/show_bug.cgi?id=760458 |
21 |
eapply "${FILESDIR}"/${PN}-2.9.2-python-ABIFLAG.patch |
22 |
|
23 |
- # Avoid final linking arguments for python modules |
24 |
if [[ ${CHOST} == *-darwin* ]] ; then |
25 |
+ # Avoid final linking arguments for python modules |
26 |
sed -i -e '/PYTHON_LIBS/s/ldflags/libs/' configure.ac || die |
27 |
+ # gcc-apple doesn't grok -Wno-array-bounds |
28 |
+ sed -i -e 's/-Wno-array-bounds//' configure.ac || die |
29 |
fi |
30 |
|
31 |
# Please do not remove, as else we get references to PORTAGE_TMPDIR |