From 797a6d141df1134691a85d13ec1e6db091eaf57b Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Thu, 16 Mar 2017 00:34:43 -0300 Subject: [PATCH] app-crypt/gpgme: Fix bug 601834 on macOS Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- app-crypt/gpgme/gpgme-1.8.0-r2.ebuild | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- 2.26.2