commit: 9807798754677b625d90625fc5b8f4136a60e7eb Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Tue Jun 21 23:58:51 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Wed Jun 22 17:40:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98077987
app-crypt/gnupg: fix remaining ebuilds building with Clang Gentoo-Bug: https://bugs.gentoo.org/458154 Reviewed-by: Robin H. Johnson <robbat2 <AT> gentoo.org> Package-Manager: portage-2.2.28 app-crypt/gnupg/gnupg-2.0.26-r3.ebuild | 5 ++++- app-crypt/gnupg/gnupg-2.0.28.ebuild | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild b/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild index 055584d..61372d9 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 ffc5a30..1dac44f 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}" \