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/ChangeLog | 7 ++++++- media-libs/cal3d/cal3d-0.11.0-r1.ebuild | 12 ++++++++++-- media-libs/cal3d/files/cal3d-0.11.0-gcc43.patch | 10 ++++++++++ media-libs/cal3d/metadata.xml | 4 ++-- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 media-libs/cal3d/files/cal3d-0.11.0-gcc43.patch (limited to 'media-libs/cal3d') diff --git a/media-libs/cal3d/ChangeLog b/media-libs/cal3d/ChangeLog index 4006d22941ef..9d8808883705 100644 --- a/media-libs/cal3d/ChangeLog +++ b/media-libs/cal3d/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/cal3d # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/ChangeLog,v 1.27 2008/04/21 17:37:50 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/ChangeLog,v 1.28 2008/04/27 21:36:45 tupone Exp $ + + 27 Apr 2008; Tupone Alfredo + +files/cal3d-0.11.0-gcc43.patch, metadata.xml, cal3d-0.11.0-r1.ebuild: + Fix gcc-4.3 compiling. + Take maintainership 21 Apr 2008; Christian Heim metadata.xml: Fix up metadata.xml. If there's no maintainer for the package, the metadata 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) \ diff --git a/media-libs/cal3d/files/cal3d-0.11.0-gcc43.patch b/media-libs/cal3d/files/cal3d-0.11.0-gcc43.patch new file mode 100644 index 000000000000..80d73b274742 --- /dev/null +++ b/media-libs/cal3d/files/cal3d-0.11.0-gcc43.patch @@ -0,0 +1,10 @@ +--- src/cal3d/platform.h.old 2008-04-27 23:08:41.000000000 +0200 ++++ src/cal3d/platform.h 2008-04-27 23:08:56.000000000 +0200 +@@ -77,6 +77,7 @@ + // standard includes + #include + #include ++#include + + // debug includes + #include diff --git a/media-libs/cal3d/metadata.xml b/media-libs/cal3d/metadata.xml index fae7d74a9aee..aec0be881700 100644 --- a/media-libs/cal3d/metadata.xml +++ b/media-libs/cal3d/metadata.xml @@ -3,7 +3,7 @@ no-herd - maintainer-needed@gentoo.org - Default assignee for orphaned packages + tupone@gentoo.org + Alfredo Tupone -- cgit v1.2.3-65-gdbad