diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-06-19 13:02:12 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-06-19 13:02:12 +0000 |
commit | a660b96458ffc5fb273ca7abf741215c412d8bf1 (patch) | |
tree | f08d085fd9fd977cef71b17e12d1278fda4468ec /sci-chemistry/pdb2pqr | |
parent | dev-util/lincvs removal. Upstream rename to crossvc (diff) | |
download | gentoo-2-a660b96458ffc5fb273ca7abf741215c412d8bf1.tar.gz gentoo-2-a660b96458ffc5fb273ca7abf741215c412d8bf1.tar.bz2 gentoo-2-a660b96458ffc5fb273ca7abf741215c412d8bf1.zip |
Added patch to allow compilation with gcc-4.3 (bug #228121).
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-chemistry/pdb2pqr')
-rw-r--r-- | sci-chemistry/pdb2pqr/ChangeLog | 6 | ||||
-rw-r--r-- | sci-chemistry/pdb2pqr/files/pdb2pqr-1.3.0-gcc4.3.patch | 12 | ||||
-rw-r--r-- | sci-chemistry/pdb2pqr/pdb2pqr-1.3.0.ebuild | 8 |
3 files changed, 24 insertions, 2 deletions
diff --git a/sci-chemistry/pdb2pqr/ChangeLog b/sci-chemistry/pdb2pqr/ChangeLog index 9e0e2b29e758..698875659358 100644 --- a/sci-chemistry/pdb2pqr/ChangeLog +++ b/sci-chemistry/pdb2pqr/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-chemistry/pdb2pqr # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/ChangeLog,v 1.11 2008/02/06 15:14:10 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/ChangeLog,v 1.12 2008/06/19 13:02:12 markusle Exp $ + + 19 Jun 2008; Markus Dittrich <markusle@gentoo.org> + +files/pdb2pqr-1.3.0-gcc4.3.patch, pdb2pqr-1.3.0.ebuild: + Added patch to allow compilation with gcc-4.3 (bug #228121). *pdb2pqr-1.3.0 (06 Feb 2008) diff --git a/sci-chemistry/pdb2pqr/files/pdb2pqr-1.3.0-gcc4.3.patch b/sci-chemistry/pdb2pqr/files/pdb2pqr-1.3.0-gcc4.3.patch new file mode 100644 index 000000000000..2ccd01785213 --- /dev/null +++ b/sci-chemistry/pdb2pqr/files/pdb2pqr-1.3.0-gcc4.3.patch @@ -0,0 +1,12 @@ +diff -Naur pdb2pqr-1.3.0/pdb2pka/pMC_mult.cpp pdb2pqr-1.3.0.new/pdb2pka/pMC_mult.cpp +--- pdb2pqr-1.3.0/pdb2pka/pMC_mult.cpp 2006-12-05 20:35:43.000000000 -0500 ++++ pdb2pqr-1.3.0.new/pdb2pka/pMC_mult.cpp 2008-06-19 08:53:22.000000000 -0400 +@@ -8,6 +8,8 @@ + // + // + ++#include <cstdlib> ++ + void MC::reformat_arrays() { + // + // Reformat the matrix diff --git a/sci-chemistry/pdb2pqr/pdb2pqr-1.3.0.ebuild b/sci-chemistry/pdb2pqr/pdb2pqr-1.3.0.ebuild index acc332c03593..425b8c037469 100644 --- a/sci-chemistry/pdb2pqr/pdb2pqr-1.3.0.ebuild +++ b/sci-chemistry/pdb2pqr/pdb2pqr-1.3.0.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/pdb2pqr/pdb2pqr-1.3.0.ebuild,v 1.1 2008/02/06 15:14:10 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.3.0.ebuild,v 1.2 2008/06/19 13:02:12 markusle Exp $ inherit eutils fortran multilib flag-o-matic distutils @@ -17,6 +17,12 @@ DEPEND="dev-lang/python" FORTRAN="g77 gfortran" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc4.3.patch +} + src_compile() { # we need to compile the *.so as pic append-flags -fPIC |