--- mathgl-1.8.1.ebuild.orig 2009-04-27 10:02:02.349420086 +0200 +++ mathgl-1.8.1.ebuild 2009-04-27 10:03:21.937716864 +0200 @@ -9,7 +9,7 @@ HOMEPAGE="http://mathgl.sourceforge.net/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~x86 ~amd64" SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" @@ -42,6 +42,11 @@ # bug #267061 epatch "${FILESDIR}"/${P}-gcc43.patch + # providing compatibility with HDF5 v1.8 API + if has_version ">=sci-libs/hdf5-1.8.0" ; then + epatch "${FILESDIR}"/${P}-hdf5_v18.patch + fi + # correct location of numpy/arrayobject.h if use python; then local numpy_h