summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2017-03-16 00:34:43 -0300
committerGuilherme Amadio <amadio@gentoo.org>2017-03-16 00:36:18 -0300
commit797a6d141df1134691a85d13ec1e6db091eaf57b (patch)
tree31ec7aebfd56c4b731d1a132b13c895fc3440b26 /app-crypt/gpgme
parentdev-perl/DateTime-TimeZone: Remove old masked (diff)
downloadgentoo-797a6d141df1134691a85d13ec1e6db091eaf57b.tar.gz
gentoo-797a6d141df1134691a85d13ec1e6db091eaf57b.tar.bz2
gentoo-797a6d141df1134691a85d13ec1e6db091eaf57b.zip
app-crypt/gpgme: Fix bug 601834 on macOS
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'app-crypt/gpgme')
-rw-r--r--app-crypt/gpgme/gpgme-1.8.0-r2.ebuild3
1 files changed, 3 insertions, 0 deletions
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 \