summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-15 11:14:30 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-15 11:14:30 +0000
commit91ba831fa7264ef52821390ee2b1fbe582afaf84 (patch)
treebc5b0aeabccc0161225647c2f2f8af53e32303e8 /dev-libs/gmp
parentVersion bump. (diff)
downloadgentoo-2-91ba831fa7264ef52821390ee2b1fbe582afaf84.tar.gz
gentoo-2-91ba831fa7264ef52821390ee2b1fbe582afaf84.tar.bz2
gentoo-2-91ba831fa7264ef52821390ee2b1fbe582afaf84.zip
Fix up ANSI configure test #296964 by Andrew Jeffery.
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/ChangeLog6
-rw-r--r--dev-libs/gmp/files/gmp-4.3.1-fix-broken-ansi-check.patch18
-rw-r--r--dev-libs/gmp/gmp-4.3.1.ebuild3
3 files changed, 25 insertions, 2 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog
index 4cea049f6179..7c2d9c7f592b 100644
--- a/dev-libs/gmp/ChangeLog
+++ b/dev-libs/gmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/gmp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.122 2009/10/31 14:41:46 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.123 2009/12/15 11:14:29 vapier Exp $
+
+ 15 Dec 2009; Mike Frysinger <vapier@gentoo.org> gmp-4.3.1.ebuild,
+ +files/gmp-4.3.1-fix-broken-ansi-check.patch:
+ Fix up ANSI configure test #296964 by Andrew Jeffery.
31 Oct 2009; Brent Baude <ranger@gentoo.org> gmp-4.3.1.ebuild:
Marking gmp-4.3.1 ppc64 for bug 287519
diff --git a/dev-libs/gmp/files/gmp-4.3.1-fix-broken-ansi-check.patch b/dev-libs/gmp/files/gmp-4.3.1-fix-broken-ansi-check.patch
new file mode 100644
index 000000000000..2535a49d7c56
--- /dev/null
+++ b/dev-libs/gmp/files/gmp-4.3.1-fix-broken-ansi-check.patch
@@ -0,0 +1,18 @@
+http://bugs.gentoo.org/296964
+
+the real bug is in acinclude.m4:
+http://gmplib.org:8000/gmp/rev/43784518850d
+
+but we don't run autotools, so tweak the configure script
+
+--- a/configure
++++ b/configure
+@@ -7967,7 +7967,7 @@
+ else
+ cat >conftest.c <<EOF
+ int
+-main (int argc, char *argv)
++main (int argc, char **argv)
+ {
+ exit(0);
+ }
diff --git a/dev-libs/gmp/gmp-4.3.1.ebuild b/dev-libs/gmp/gmp-4.3.1.ebuild
index 893cae00c585..5ae8aea6b7c4 100644
--- a/dev-libs/gmp/gmp-4.3.1.ebuild
+++ b/dev-libs/gmp/gmp-4.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.3.1.ebuild,v 1.9 2009/10/31 14:41:46 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.3.1.ebuild,v 1.10 2009/12/15 11:14:29 vapier Exp $
inherit flag-o-matic eutils libtool flag-o-matic
@@ -21,6 +21,7 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
epatch "${FILESDIR}"/${PN}-4.3.0-ABI-multilib.patch
epatch "${FILESDIR}"/${PN}-4.2.1-s390.diff
+ epatch "${FILESDIR}"/${PN}-4.3.1-fix-broken-ansi-check.patch #296964
sed -i -e 's:ABI = @ABI@:GMPABI = @GMPABI@:' \
Makefile.in */Makefile.in */*/Makefile.in