diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-11-13 13:24:17 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-11-13 13:24:38 +0100 |
commit | 8b5055715dc509d34038d446b6a030987496cfad (patch) | |
tree | da375f8e93a1f17109829699301f98dc8667d6ac /net-misc | |
parent | sys-kernel/vanilla-sources: Automated version bump to {3.2.95,3.16.50} - remo... (diff) | |
download | gentoo-8b5055715dc509d34038d446b6a030987496cfad.tar.gz gentoo-8b5055715dc509d34038d446b6a030987496cfad.tar.bz2 gentoo-8b5055715dc509d34038d446b6a030987496cfad.zip |
net-misc/curl: add workaround for Darwin17, bug #637252
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/curl/curl-7.56.1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-misc/curl/curl-7.56.1.ebuild b/net-misc/curl/curl-7.56.1.ebuild index 8f1181532c05..c3aa96c58c0b 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() { |