--- libgda-4.1.4.ebuild 2010-03-13 15:57:40.896867194 +0100 +++ libgda-4.1.4-r1.ebuild 2010-03-13 15:03:38.879643518 +0100 @@ -4,7 +4,7 @@ EAPI="2" -inherit db-use flag-o-matic gnome2 java-pkg-opt-2 +inherit autotools db-use eutils flag-o-matic gnome2 java-pkg-opt-2 DESCRIPTION="Gnome Database Access Library" HOMEPAGE="http://www.gnome-db.org/" @@ -55,6 +55,12 @@ # Tests are not really good RESTRICT="test" +src_prepare() { + # Fix from GNOME bug #607357 for Gentoo bug #308793. + epatch "${FILESDIR}/libgda-4.1.4-install-libgda-h.patch" + eautoreconf +} + pkg_setup() { if use canvas || use graphviz || use sourceview; then if ! use gtk; then