commit:     797a6d141df1134691a85d13ec1e6db091eaf57b
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 03:34:43 2017 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 03:36:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=797a6d14

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 60b451e1bd3..35b148d7a07 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 \

Reply via email to