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 D3DF71396D9 for ; Mon, 13 Nov 2017 12:24:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA7E3E0FA0; Mon, 13 Nov 2017 12:24:50 +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 C7AFFE0FA0 for ; Mon, 13 Nov 2017 12:24:50 +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 37DF333BE18 for ; Mon, 13 Nov 2017 12:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D22198C1 for ; Mon, 13 Nov 2017 12:24:47 +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: <1510575878.8b5055715dc509d34038d446b6a030987496cfad.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/curl/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/curl/curl-7.56.1.ebuild X-VCS-Directories: net-misc/curl/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 8b5055715dc509d34038d446b6a030987496cfad X-VCS-Branch: master Date: Mon, 13 Nov 2017 12:24:47 +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: 1ec6e5be-bb64-43e0-b8db-eff1030406aa X-Archives-Hash: 4ff5d52c1f583c9c703a4e6f7f3bc52d commit: 8b5055715dc509d34038d446b6a030987496cfad Author: Fabian Groffen gentoo org> AuthorDate: Mon Nov 13 12:24:17 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Nov 13 12:24:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b505571 net-misc/curl: add workaround for Darwin17, bug #637252 Package-Manager: Portage-2.3.8, Repoman-2.3.3 net-misc/curl/curl-7.56.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net-misc/curl/curl-7.56.1.ebuild b/net-misc/curl/curl-7.56.1.ebuild index 8f1181532c0..c3aa96c58c0 100644 --- a/net-misc/curl/curl-7.56.1.ebuild +++ b/net-misc/curl/curl-7.56.1.ebuild @@ -113,6 +113,12 @@ src_prepare() { eapply_user eprefixify curl-config.in eautoreconf + + if [[ ${CHOST} == *-darwin17 ]] ; then + # https://bugs.gentoo.org/show_bug.cgi?id=637252 + sed -i -e '/-Werror=partial-availability/s/Werror/Wno-error/g' \ + configure || die + fi } multilib_src_configure() {