summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-06-28 19:55:29 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-06-28 19:55:29 +0000
commit0520db3273b6370439a55bb31e8a26177e3c6e0e (patch)
tree51225f4af429b9ccfb1fe0d76e5a7ab991fce6f9 /sci-libs
parent0.6_beta10 bump. (diff)
downloadgentoo-2-0520db3273b6370439a55bb31e8a26177e3c6e0e.tar.gz
gentoo-2-0520db3273b6370439a55bb31e8a26177e3c6e0e.tar.bz2
gentoo-2-0520db3273b6370439a55bb31e8a26177e3c6e0e.zip
Added patch for gcc 4.4, thanks to hirakendu, closing bugs #271636 and #275670
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/metis/ChangeLog7
-rw-r--r--sci-libs/metis/files/metis-4.0.1-gcc44.patch11
-rw-r--r--sci-libs/metis/metis-4.0.1-r1.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/sci-libs/metis/ChangeLog b/sci-libs/metis/ChangeLog
index e52ec86ab74e..96f7b5e789c6 100644
--- a/sci-libs/metis/ChangeLog
+++ b/sci-libs/metis/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/metis
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v 1.15 2009/05/17 13:12:07 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v 1.16 2009/06/28 19:55:29 bicatali Exp $
+
+ 28 Jun 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ metis-4.0.1-r1.ebuild, +files/metis-4.0.1-gcc44.patch:
+ Added patch for gcc 4.4, thanks to hirakendu, closing bugs #271636 and
+ #275670
17 May 2009; nixnut <nixnut@gentoo.org> metis-4.0.1-r1.ebuild:
ppc stable #245707
diff --git a/sci-libs/metis/files/metis-4.0.1-gcc44.patch b/sci-libs/metis/files/metis-4.0.1-gcc44.patch
new file mode 100644
index 000000000000..fc55499380c9
--- /dev/null
+++ b/sci-libs/metis/files/metis-4.0.1-gcc44.patch
@@ -0,0 +1,11 @@
+--- metis-4.0.orig/Lib/rename.h 1998-11-30 08:26:50.000000000 -0800
++++ metis-4.0/Lib/rename.h 2009-05-26 00:18:27.000000000 -0700
+@@ -410,7 +410,7 @@
+ #define RandomPermute __RandomPermute
+ #define ispow2 __ispow2
+ #define InitRandom __InitRandom
+-#define log2 __log2
++#define log2 ___log2
+
+
+
diff --git a/sci-libs/metis/metis-4.0.1-r1.ebuild b/sci-libs/metis/metis-4.0.1-r1.ebuild
index c2d8783b7a4f..f506e0c37416 100644
--- a/sci-libs/metis/metis-4.0.1-r1.ebuild
+++ b/sci-libs/metis/metis-4.0.1-r1.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/sci-libs/metis/metis-4.0.1-r1.ebuild,v 1.11 2009/05/17 13:12:07 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/metis-4.0.1-r1.ebuild,v 1.12 2009/06/28 19:55:29 bicatali Exp $
inherit autotools eutils
@@ -24,6 +24,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-autotools.patch
+ epatch "${FILESDIR}"/${P}-gcc44.patch
eautoreconf
}