summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-06-30 01:01:56 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-06-30 01:01:56 +0000
commitfeea2c2ac23e82853755c3ba7687383db08273ff (patch)
treec587cb8606501d5e1365bfd05482567b22546a47 /app-crypt/gnupg
parentAdd USE=test. (diff)
downloadgentoo-2-feea2c2ac23e82853755c3ba7687383db08273ff.tar.gz
gentoo-2-feea2c2ac23e82853755c3ba7687383db08273ff.tar.bz2
gentoo-2-feea2c2ac23e82853755c3ba7687383db08273ff.zip
Fix failure with old gcc versions.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'app-crypt/gnupg')
-rw-r--r--app-crypt/gnupg/ChangeLog5
-rw-r--r--app-crypt/gnupg/gnupg-1.9.21.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/app-crypt/gnupg/ChangeLog b/app-crypt/gnupg/ChangeLog
index 56a654fd4c21..b7da377dd693 100644
--- a/app-crypt/gnupg/ChangeLog
+++ b/app-crypt/gnupg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/gnupg
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.207 2006/06/29 22:25:56 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.208 2006/06/30 01:01:56 robbat2 Exp $
+
+ 30 Jun 2006; Robin H. Johnson <robbat2@gentoo.org> gnupg-1.9.21.ebuild:
+ Fix failure with old gcc versions.
*gnupg-1.9.21 (29 Jun 2006)
diff --git a/app-crypt/gnupg/gnupg-1.9.21.ebuild b/app-crypt/gnupg/gnupg-1.9.21.ebuild
index 993348bb85b5..bd06448e1aaf 100644
--- a/app-crypt/gnupg/gnupg-1.9.21.ebuild
+++ b/app-crypt/gnupg/gnupg-1.9.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.9.21.ebuild,v 1.1 2006/06/29 22:25:56 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.9.21.ebuild,v 1.2 2006/06/30 01:01:56 robbat2 Exp $
inherit eutils flag-o-matic autotools
@@ -48,6 +48,10 @@ src_unpack() {
fi
sed -i -e 's/PIC/__PIC__/g' intl/relocatable.c || die "PIC patching failed"
+ # this warning is only available on gcc4!
+ sed -i -e '/AM_CFLAGS/s!-Wno-pointer-sign!!g' ${S}/g10/Makefile.am
+ sed -i -e '/AM_CFLAGS/s!-Wno-pointer-sign!!g' ${S}/g10/Makefile.in
+
epatch "${FILESDIR}/${PN}-1.9.20-fbsd.patch"
#epatch "${FILESDIR}/${P}-fbsd-gcc41.patch"
AT_M4DIR="m4 gl/m4" eautoreconf