summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2008-11-30 22:50:27 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2008-11-30 22:50:27 +0000
commit97f62901035c924bf97fcd5a81e3803ee4f85167 (patch)
tree94d2c35de052c4d84078cfca99c3c98ed92cd145 /sci-chemistry
parentVersion bump, bug #245962. (diff)
downloadgentoo-2-97f62901035c924bf97fcd5a81e3803ee4f85167.tar.gz
gentoo-2-97f62901035c924bf97fcd5a81e3803ee4f85167.tar.bz2
gentoo-2-97f62901035c924bf97fcd5a81e3803ee4f85167.zip
Incorporating #includes to fix gcc4.3 issues.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r4 x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/ghemical/ChangeLog6
-rw-r--r--sci-chemistry/ghemical/files/ghemical-gcc43.patch14
-rw-r--r--sci-chemistry/ghemical/ghemical-2.98.ebuild8
3 files changed, 26 insertions, 2 deletions
diff --git a/sci-chemistry/ghemical/ChangeLog b/sci-chemistry/ghemical/ChangeLog
index 83e29f81ad2f..d988b65c5d47 100644
--- a/sci-chemistry/ghemical/ChangeLog
+++ b/sci-chemistry/ghemical/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/ghemical
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.27 2008/11/27 19:53:24 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ChangeLog,v 1.28 2008/11/30 22:50:27 je_fro Exp $
+
+ 30 Nov 2008; Jeff Gardner <je_fro@gentoo.org> +files/ghemical-gcc43.patch,
+ ghemical-2.98.ebuild:
+ Incorporating gcc4.3 fixes
*ghemical-2.98 (27 Nov 2008)
diff --git a/sci-chemistry/ghemical/files/ghemical-gcc43.patch b/sci-chemistry/ghemical/files/ghemical-gcc43.patch
new file mode 100644
index 000000000000..93557d48720c
--- /dev/null
+++ b/sci-chemistry/ghemical/files/ghemical-gcc43.patch
@@ -0,0 +1,14 @@
+--- src-orig/pangofont_wcl.cpp 2008-11-30 16:15:23.932475487 -0600
++++ src/pangofont_wcl.cpp 2008-11-30 16:16:09.620396370 -0600
+@@ -22,6 +22,10 @@
+
+ #include <gtk/gtkgl.h>
+
++#include <string.h>
++
++#include <cstdlib>
++using namespace std;
+ /*################################################################################################*/
+
+ pangofont_wcl::pangofont_wcl(ogl_camera * cam) :
+
diff --git a/sci-chemistry/ghemical/ghemical-2.98.ebuild b/sci-chemistry/ghemical/ghemical-2.98.ebuild
index 24ef3db6818a..8844b4d56edd 100644
--- a/sci-chemistry/ghemical/ghemical-2.98.ebuild
+++ b/sci-chemistry/ghemical/ghemical-2.98.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ghemical-2.98.ebuild,v 1.1 2008/11/27 19:53:24 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ghemical/ghemical-2.98.ebuild,v 1.2 2008/11/30 22:50:27 je_fro Exp $
inherit eutils flag-o-matic
@@ -37,6 +37,12 @@ RDEPEND="virtual/glut
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.15"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "$FILESDIR"/ghemical-gcc43.patch || die "Failed to apply ghemical-gcc43.patch"
+}
+
src_compile() {
# With amd64, if you want gamess I recommend adding gamess and gtk-gamess to package.provided for now.