summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-08-05 05:48:56 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-08-05 05:48:56 +0000
commit1499e18cd4f7cc51439bfde42a1b76fe2418740a (patch)
tree1fc372c11b474332f393ddb4c8d0e230a3a847e0 /sci-chemistry
parentArora release 0.3 (diff)
downloadgentoo-2-1499e18cd4f7cc51439bfde42a1b76fe2418740a.tar.gz
gentoo-2-1499e18cd4f7cc51439bfde42a1b76fe2418740a.tar.bz2
gentoo-2-1499e18cd4f7cc51439bfde42a1b76fe2418740a.zip
Fix for gcc 4.3.
(Portage version: 2.2_rc5/cvs/Linux 2.6.26 x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/autodock/ChangeLog8
-rw-r--r--sci-chemistry/autodock/autodock-4.0.1-r1.ebuild12
-rw-r--r--sci-chemistry/autodock/files/4.0.1-gcc-4.3.patch10
3 files changed, 26 insertions, 4 deletions
diff --git a/sci-chemistry/autodock/ChangeLog b/sci-chemistry/autodock/ChangeLog
index 2241ba631b29..59259af9d397 100644
--- a/sci-chemistry/autodock/ChangeLog
+++ b/sci-chemistry/autodock/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/autodock
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.4 2007/06/26 18:42:29 ribosome Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.5 2008/08/05 05:48:56 dberkholz Exp $
+
+ 05 Aug 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/4.0.1-gcc-4.3.patch, autodock-4.0.1-r1.ebuild:
+ Fix for gcc 4.3.
*autodock-4.0.1-r1 (26 Jun 2007)
diff --git a/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild b/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
index 65b45058f4b2..5d84dfb185c9 100644
--- a/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
+++ b/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild,v 1.1 2007/06/26 18:42:29 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild,v 1.2 2008/08/05 05:48:56 dberkholz Exp $
+
+inherit eutils
MY_PN="autodocksuite"
MY_P="${MY_PN}-${PV}"
@@ -16,6 +18,12 @@ IUSE=""
S="${WORKDIR}/${MY_P}/src"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-gcc-4.3.patch
+}
+
src_compile() {
cd autodock/
econf || die "AutoDock econf failed."
diff --git a/sci-chemistry/autodock/files/4.0.1-gcc-4.3.patch b/sci-chemistry/autodock/files/4.0.1-gcc-4.3.patch
new file mode 100644
index 000000000000..b9eb3c409c64
--- /dev/null
+++ b/sci-chemistry/autodock/files/4.0.1-gcc-4.3.patch
@@ -0,0 +1,10 @@
+--- autodocksuite-4.0.1.orig/src/autogrid/check_size.cpp 2008-08-04 22:44:46.000000000 -0700
++++ autodocksuite-4.0.1/src/autogrid/check_size.cpp 2008-08-04 22:45:12.000000000 -0700
+@@ -27,6 +27,7 @@
+
+ #include <iostream>
+ #include <math.h>
++#include <cstdlib>
+ #include "autogrid.h"
+
+