--- cairo-0.3.0-r1.ebuild.orig 2005-04-08 20:31:22.000000000 -0400 +++ cairo-0.3.0-r1.ebuild 2005-04-08 20:25:28.000000000 -0400 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-0.3.0-r1.ebuild,v 1.1 2005/02/23 19:36:24 latexer Exp $ +inherit eutils + DESCRIPTION="A vector graphics library with cross-device output support" HOMEPAGE="http://cairographics.org/" SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz" @@ -22,6 +24,12 @@ glitz? ( =media-libs/glitz-0.3.0* ) png? ( media-libs/libpng )" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-header-fix.diff +} + src_compile() { econf \ $(use_enable X xlib) \