From 9807798754677b625d90625fc5b8f4136a60e7eb Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 21 Jun 2016 18:58:51 -0500 Subject: [PATCH] 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 --- 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 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}" \ -- 2.26.2