diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-07-10 13:16:35 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-07-10 13:16:35 +0000 |
commit | 83f9899a104a11a187cc532be760036407226790 (patch) | |
tree | af70e529e890953bc207f0e3dfdf08098be266b9 /sci-chemistry/avogadro/files | |
parent | Version bump. (diff) | |
download | gentoo-2-83f9899a104a11a187cc532be760036407226790.tar.gz gentoo-2-83f9899a104a11a187cc532be760036407226790.tar.bz2 gentoo-2-83f9899a104a11a187cc532be760036407226790.zip |
Version bump and fixed compile issue due to openbabel-2.2.0 API change (see bug #231173).
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-SENTINEL-4 i686)
Diffstat (limited to 'sci-chemistry/avogadro/files')
-rw-r--r-- | sci-chemistry/avogadro/files/avogadro-0.8.1-openbabel-2.2.0.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-chemistry/avogadro/files/avogadro-0.8.1-openbabel-2.2.0.patch b/sci-chemistry/avogadro/files/avogadro-0.8.1-openbabel-2.2.0.patch new file mode 100644 index 000000000000..c8371ccf0081 --- /dev/null +++ b/sci-chemistry/avogadro/files/avogadro-0.8.1-openbabel-2.2.0.patch @@ -0,0 +1,12 @@ +diff -Naur avogadro-0.8.1/libavogadro/src/boost.h avogadro-0.8.1.new/libavogadro/src/boost.h +--- avogadro-0.8.1/libavogadro/src/boost.h 2008-05-14 21:10:06.000000000 -0400 ++++ avogadro-0.8.1.new/libavogadro/src/boost.h 2008-07-10 09:02:00.000000000 -0400 +@@ -46,7 +46,7 @@ + void (OBMol::*ToInertialFrame)() = &OBMol::ToInertialFrame; + void (OBMol::*Center)() = &OBMol::Center; + bool (OBMol::*DeleteHydrogens)() = &OBMol::DeleteHydrogens; +- bool (OBMol::*AddHydrogens)(bool, bool) = &OBMol::AddHydrogens; ++ bool (OBMol::*AddHydrogens)(bool, bool, double) = &OBMol::AddHydrogens; + OBBond * (OBMol::*GetBondIDX)(int)const = &OBMol::GetBond; + OBBond * (OBMol::*GetBondAtoms)(int, int)const = &OBMol::GetBond; + |