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
commitac653c6f237c7c0e2ae2e5d0ec5e095c4f6cb01c (patch)
tree020ecd6b9b7c1a4d8ec1b279dc1673da38bdc6ef /sci-chemistry/gelemental
parentRemove old and unused versions (diff)
downloadhistorical-ac653c6f237c7c0e2ae2e5d0ec5e095c4f6cb01c.tar.gz
historical-ac653c6f237c7c0e2ae2e5d0ec5e095c4f6cb01c.tar.bz2
historical-ac653c6f237c7c0e2ae2e5d0ec5e095c4f6cb01c.zip
Fixed gcc-4.3 issues (see bug #239567).
Package-Manager: portage-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/Manifest15
-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
4 files changed, 29 insertions, 15 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/Manifest b/sci-chemistry/gelemental/Manifest
index 21f88e576042..46a7b0b1ca28 100644
--- a/sci-chemistry/gelemental/Manifest
+++ b/sci-chemistry/gelemental/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX gelemental-1.2.0-gcc4.3.patch 387 RMD160 7cca84abc1290124635806f59c0fa1091ffe227a SHA1 bf8f66745de2015585a9c8b254ab62b9c88f18e9 SHA256 0747ec32d6ee9f6ff75bbf2271f24018b547b6d71b98660d16fac450519c5918
DIST gelemental-1.2.0.tar.bz2 460757 RMD160 a54b29e853d4861f4fd5adb947816cb0f736d2bc SHA1 5640c8912de555eddf72924c866831249d0fdd28 SHA256 4f2797200af98d74c71db0065506f99a97820392f39f67cf3ef42de6dca3859b
-EBUILD gelemental-1.2.0.ebuild 1124 RMD160 52d8f2ec6718ad9b39f515f5b911be741e8a0658 SHA1 204cf7da3046fea8e73aa76cc8a1d78ad04b3556 SHA256 1676274923e7ec926de57b0ed412e076c0cc7a1816f70d478fac0eabaf059538
-MISC ChangeLog 499 RMD160 b9f50deb243c79cf88b0ae8d48cd43b950528487 SHA1 819926cd7bc8dcebaed43b858d718f9aaf06031a SHA256 cc38cf11dcf61ea6ccca4c3ff666c59149051b998735fcd1b83c288dfe7312cc
+EBUILD gelemental-1.2.0.ebuild 1218 RMD160 df921c86084c9b7922d3126bdfc298643be7c703 SHA1 7975dc847ba9ab6f9e61924d8ad279a3ef7a0cc0 SHA256 1fd650763b51a4885139512b026468b492df78d017b4abcca184d35ad848c963
+MISC ChangeLog 733 RMD160 8eb2fdbe2f0664fa41ba5544d361a7d1db8abad2 SHA1 866fff0a1ac04fe0ea3f83b3b549ea37c66f8f9e SHA256 f10b68c5485356b33d8cadab1d3b24e042f6111723b7a4f095cc4c46be2338f5
MISC metadata.xml 226 RMD160 f2696dc97458d4e6c7b8c2064c0dde115fb218cb SHA1 f73f36545c75a58df375e2d2eb2d8fc541833342 SHA256 99d8aa64818382d01aa7adf72f717312312addae1ecff1366906eb303a28ce46
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFH/bEfUPEOwClectkRAgptAJ0eLNMsIUuUyIsQSys6vcwfkMPhOACfbWfs
-RlFK41jMmNYB+4d96HOubJ8=
-=L90n
------END PGP SIGNATURE-----
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."