app-crypt/gpgme: Fix bug 601834 on macOS
authorGuilherme Amadio <amadio@gentoo.org>
Thu, 16 Mar 2017 03:34:43 +0000 (00:34 -0300)
committerGuilherme Amadio <amadio@gentoo.org>
Thu, 16 Mar 2017 03:36:18 +0000 (00:36 -0300)
Package-Manager: Portage-2.3.4, Repoman-2.3.2

app-crypt/gpgme/gpgme-1.8.0-r2.ebuild

index 60b451e1bd3e4822c9ffd4c4bb84cafb1bbd19c2..35b148d7a07924ada8c6c036f1103dbe76089e47 100644 (file)
@@ -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 \