From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6E47138330 for ; Tue, 29 May 2018 11:57:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1AC5E06CC; Tue, 29 May 2018 11:57:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89AE0E06CC for ; Tue, 29 May 2018 11:57:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B43DC335C63 for ; Tue, 29 May 2018 11:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 344D2129 for ; Tue, 29 May 2018 11:57:26 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1527594996.0e2881c279258517970855d2144b4dbb887aa050.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libxml2/libxml2-2.9.8.ebuild X-VCS-Directories: dev-libs/libxml2/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 0e2881c279258517970855d2144b4dbb887aa050 X-VCS-Branch: master Date: Tue, 29 May 2018 11:57:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0dd6b564-683a-4b33-8a60-5e189c47ae89 X-Archives-Hash: 70a5281df1699a6fe833c704fe454b9c commit: 0e2881c279258517970855d2144b4dbb887aa050 Author: Fabian Groffen gentoo org> AuthorDate: Tue May 29 11:56:36 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue May 29 11:56:36 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2881c2 dev-libs/libxml2: fix compilation with older GCC Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-libs/libxml2/libxml2-2.9.8.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-libs/libxml2/libxml2-2.9.8.ebuild b/dev-libs/libxml2/libxml2-2.9.8.ebuild index 0d83dca0a9d..acf8d9ec815 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