summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2015-06-01 19:10:08 +0000
committerFabian Groffen <grobian@gentoo.org>2015-06-01 19:10:08 +0000
commitc5346199a84d0748f71592f9b4075efa1d99f5cd (patch)
treeee9e1cdc67435e6b45816bd786faa7b1fd5a41a5 /app-crypt
parentRemove arch-specific mask that is duplicated in the base profile. (diff)
downloadgentoo-2-c5346199a84d0748f71592f9b4075efa1d99f5cd.tar.gz
gentoo-2-c5346199a84d0748f71592f9b4075efa1d99f5cd.tar.bz2
gentoo-2-c5346199a84d0748f71592f9b4075efa1d99f5cd.zip
Fix compilation using Clang
(Portage version: 2.2.14-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/gnupg/ChangeLog6
-rw-r--r--app-crypt/gnupg/gnupg-2.0.27-r1.ebuild5
-rw-r--r--app-crypt/gnupg/gnupg-2.1.4.ebuild5
3 files changed, 13 insertions, 3 deletions
diff --git a/app-crypt/gnupg/ChangeLog b/app-crypt/gnupg/ChangeLog
index b8907b183d59..6cf7205fff01 100644
--- a/app-crypt/gnupg/ChangeLog
+++ b/app-crypt/gnupg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/gnupg
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.604 2015/05/21 04:39:45 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.605 2015/06/01 19:10:08 grobian Exp $
+
+ 01 Jun 2015; Fabian Groffen <grobian@gentoo.org> gnupg-2.0.27-r1.ebuild,
+ gnupg-2.1.4.ebuild:
+ Fix compilation using Clang
21 May 2015; Matt Turner <mattst88@gentoo.org> gnupg-2.1.4.ebuild:
added ~alpha, bug 546478.
diff --git a/app-crypt/gnupg/gnupg-2.0.27-r1.ebuild b/app-crypt/gnupg/gnupg-2.0.27-r1.ebuild
index 446d6914e7fd..101de7bd07e7 100644
--- a/app-crypt/gnupg/gnupg-2.0.27-r1.ebuild
+++ b/app-crypt/gnupg/gnupg-2.0.27-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.27-r1.ebuild,v 1.1 2015/04/19 21:06:27 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.27-r1.ebuild,v 1.2 2015/06/01 19:10:08 grobian Exp $
EAPI="5"
@@ -83,6 +83,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.1.4.ebuild b/app-crypt/gnupg/gnupg-2.1.4.ebuild
index 11ad5e5e6a35..f026d01352d1 100644
--- a/app-crypt/gnupg/gnupg-2.1.4.ebuild
+++ b/app-crypt/gnupg/gnupg-2.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.1.4.ebuild,v 1.2 2015/05/21 04:39:45 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.1.4.ebuild,v 1.3 2015/06/01 19:10:08 grobian Exp $
EAPI="5"
@@ -86,6 +86,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 \