From: Guilherme Amadio Date: Thu, 16 Mar 2017 03:34:43 +0000 (-0300) Subject: app-crypt/gpgme: Fix bug 601834 on macOS X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=797a6d141df1134691a85d13ec1e6db091eaf57b;p=gentoo.git app-crypt/gpgme: Fix bug 601834 on macOS Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- diff --git a/app-crypt/gpgme/gpgme-1.8.0-r2.ebuild b/app-crypt/gpgme/gpgme-1.8.0-r2.ebuild index 60b451e1bd3e..35b148d7a079 100644 --- a/app-crypt/gpgme/gpgme-1.8.0-r2.ebuild +++ b/app-crypt/gpgme/gpgme-1.8.0-r2.ebuild @@ -73,6 +73,9 @@ src_configure() { # resulting in an implicit declaration of strdup error. Since # it is in POSIX raise the feature set to that. append-cxxflags -D_POSIX_C_SOURCE=200112L + + # Work around bug 601834 + use python && append-cflags -D_DARWIN_C_SOURCE fi econf \