From: Austin English Date: Tue, 21 Jun 2016 23:58:51 +0000 (-0500) Subject: app-crypt/gnupg: fix remaining ebuilds building with Clang X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9807798754677b625d90625fc5b8f4136a60e7eb;p=gentoo.git app-crypt/gnupg: fix remaining ebuilds building with Clang Gentoo-Bug: https://bugs.gentoo.org/458154 Reviewed-by: Robin H. Johnson Package-Manager: portage-2.2.28 --- diff --git a/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild b/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild index 055584d032f5..61372d98c7d8 100644 --- a/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild +++ b/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -85,6 +85,9 @@ src_configure() { myconf+=( --enable-symcryptrun ) fi + # glib fails and picks up clang's internal stdint.h causing weird errors + [[ ${CC} == *clang ]] && export gl_cv_absolute_stdint_h=/usr/include/stdint.h + econf \ --docdir="${EPREFIX}/usr/share/doc/${PF}" \ --enable-gpg \ diff --git a/app-crypt/gnupg/gnupg-2.0.28.ebuild b/app-crypt/gnupg/gnupg-2.0.28.ebuild index ffc5a301cc99..1dac44f506bd 100644 --- a/app-crypt/gnupg/gnupg-2.0.28.ebuild +++ b/app-crypt/gnupg/gnupg-2.0.28.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -84,7 +84,7 @@ src_configure() { fi # glib fails and picks up clang's internal stdint.h causing weird errors - [[ ${CC} == clang ]] && export gl_cv_absolute_stdint_h=/usr/include/stdint.h + [[ ${CC} == *clang ]] && export gl_cv_absolute_stdint_h=/usr/include/stdint.h econf \ --docdir="${EPREFIX}/usr/share/doc/${PF}" \