From f9aa3748ad43eaab13d68d388373399d38234363 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Sun, 27 Apr 2008 21:36:46 +0000 Subject: Fix gcc-4.3 compilation (Portage version: 2.1.4.4) --- media-libs/cal3d/cal3d-0.11.0-r1.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'media-libs/cal3d/cal3d-0.11.0-r1.ebuild') diff --git a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild index 4fe4516103b8..d77bbc14670e 100644 --- a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild +++ b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.5 2007/03/18 14:15:58 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.6 2008/04/27 21:36:45 tupone Exp $ + +inherit eutils DESCRIPTION="Cal3D is a skeletal based character animation library" HOMEPAGE="http://home.gna.org/cal3d" @@ -13,6 +15,12 @@ IUSE="16bit-indices debug" DEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} + src_compile() { econf \ $(use_enable debug) \ -- cgit v1.2.3-65-gdbad