summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-10-19 14:26:38 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-10-19 14:26:38 +0000
commit0aa1d63d311e2955a9d627b375111adb1e84a5de (patch)
tree35a848c8f5741a36b7aae4c97139f6ad064da344 /sci-chemistry/gelemental
parentRemove old and unused versions (diff)
downloadgentoo-2-0aa1d63d311e2955a9d627b375111adb1e84a5de.tar.gz
gentoo-2-0aa1d63d311e2955a9d627b375111adb1e84a5de.tar.bz2
gentoo-2-0aa1d63d311e2955a9d627b375111adb1e84a5de.zip
Fixed gcc-4.3 issues (see bug #239567).
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-SENTINEL-3 i686)
Diffstat (limited to 'sci-chemistry/gelemental')
-rw-r--r--sci-chemistry/gelemental/ChangeLog7
-rw-r--r--sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch12
-rw-r--r--sci-chemistry/gelemental/gelemental-1.2.0.ebuild10
3 files changed, 26 insertions, 3 deletions
diff --git a/sci-chemistry/gelemental/ChangeLog b/sci-chemistry/gelemental/ChangeLog
index e145a66cad15..e041990eab4c 100644
--- a/sci-chemistry/gelemental/ChangeLog
+++ b/sci-chemistry/gelemental/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/gelemental
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/ChangeLog,v 1.2 2008/04/10 06:17:34 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/ChangeLog,v 1.3 2008/10/19 14:26:38 markusle Exp $
+
+ 19 Oct 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/gelemental-1.2.0-gcc4.3.patch, gelemental-1.2.0.ebuild:
+ Fixed gcc-4.3 issues (see bug #239567). Thanks much to David Sveningsson
+ <eXt@sidvind.com> for the patch.
10 Apr 2008; Dawid Węgliński <cla@gentoo.org> gelemental-1.2.0.ebuild:
Add ~x86 love (bug #217013)
diff --git a/sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch b/sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch
new file mode 100644
index 000000000000..8e69e98a5437
--- /dev/null
+++ b/sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch
@@ -0,0 +1,12 @@
+diff -Naru gelemental-1.2.0/libelemental/value.tcc gelemental-1.2.0.new/libelemental/value.tcc
+--- gelemental-1.2.0/libelemental/value.tcc 2007-09-25 01:10:16.000000000 -0400
++++ gelemental-1.2.0.new/libelemental/value.tcc 2008-10-19 10:08:35.000000000 -0400
+@@ -26,6 +26,8 @@
+ #error "value.tcc must be included from value.hh."
+ #endif
+
++#include <limits>
++
+ namespace Elemental {
+
+
diff --git a/sci-chemistry/gelemental/gelemental-1.2.0.ebuild b/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
index e9a6280da5e5..6485e6c0246f 100644
--- a/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
+++ b/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild,v 1.2 2008/04/10 06:17:34 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild,v 1.3 2008/10/19 14:26:38 markusle Exp $
-inherit fdo-mime gnome2-utils
+inherit fdo-mime gnome2-utils eutils
DESCRIPTION="a periodic table viewer that provides detailed information on the
chemical elements."
@@ -22,6 +22,12 @@ DEPEND="${RDEPEND}
dev-util/intltool
doc? ( app-doc/doxygen )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc4.3.patch
+}
+
src_compile() {
econf --disable-dependency-tracking $(use_enable doc api-docs)
emake || die "emake failed."