summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-04-27 21:36:46 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-04-27 21:36:46 +0000
commitf9aa3748ad43eaab13d68d388373399d38234363 (patch)
treea1514a4a39e03937601d8f75bc1b6fe0fe96642c /media-libs/cal3d
parentRemoved old version (diff)
downloadgentoo-2-f9aa3748ad43eaab13d68d388373399d38234363.tar.gz
gentoo-2-f9aa3748ad43eaab13d68d388373399d38234363.tar.bz2
gentoo-2-f9aa3748ad43eaab13d68d388373399d38234363.zip
Fix gcc-4.3 compilation
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-libs/cal3d')
-rw-r--r--media-libs/cal3d/ChangeLog7
-rw-r--r--media-libs/cal3d/cal3d-0.11.0-r1.ebuild12
-rw-r--r--media-libs/cal3d/files/cal3d-0.11.0-gcc43.patch10
-rw-r--r--media-libs/cal3d/metadata.xml4
4 files changed, 28 insertions, 5 deletions
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 <tupone@gentoo.org>
+ +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 <phreak@gentoo.org> 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 <stdlib.h>
+ #include <math.h>
++#include <string.h>
+
+ // debug includes
+ #include <assert.h>
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 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <name>Default assignee for orphaned packages</name>
+ <email>tupone@gentoo.org</email>
+ <name>Alfredo Tupone</name>
</maintainer>
</pkgmetadata>