diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-01-23 10:58:08 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-01-23 10:58:08 +0000 |
commit | a269333b3891dff3d9c92d1d19c475c45d804075 (patch) | |
tree | ac046d3e9d7a1fa95edeb3f3442dee9a4d021565 /dev-games/neotools | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-a269333b3891dff3d9c92d1d19c475c45d804075.tar.gz gentoo-2-a269333b3891dff3d9c92d1d19c475c45d804075.tar.bz2 gentoo-2-a269333b3891dff3d9c92d1d19c475c45d804075.zip |
Fix gcc-4.3 bug #255819
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 x86_64)
Diffstat (limited to 'dev-games/neotools')
-rw-r--r-- | dev-games/neotools/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/neotools/files/neotools-0.8.2-gcc43.patch | 42 | ||||
-rw-r--r-- | dev-games/neotools/neotools-0.8.2.ebuild | 7 |
3 files changed, 52 insertions, 5 deletions
diff --git a/dev-games/neotools/ChangeLog b/dev-games/neotools/ChangeLog index 0e97b404a940..865cc3132a53 100644 --- a/dev-games/neotools/ChangeLog +++ b/dev-games/neotools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-games/neotools -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/neotools/ChangeLog,v 1.13 2008/11/16 12:50:57 flameeyes Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/neotools/ChangeLog,v 1.14 2009/01/23 10:58:08 tupone Exp $ + + 23 Jan 2009; Alfredo Tupone <tupone@gentoo.org> + +files/neotools-0.8.2-gcc43.patch, neotools-0.8.2.ebuild: + Fix gcc-4.3 bug #255819 by flameeyes@gentoo.org 16 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org> files/neotools-0.8.2-errno.patch: diff --git a/dev-games/neotools/files/neotools-0.8.2-gcc43.patch b/dev-games/neotools/files/neotools-0.8.2-gcc43.patch new file mode 100644 index 000000000000..58f623189fac --- /dev/null +++ b/dev-games/neotools/files/neotools-0.8.2-gcc43.patch @@ -0,0 +1,42 @@ +--- nscemake/md3.h.old 2009-01-23 11:25:56.000000000 +0100 ++++ nscemake/md3.h 2009-01-23 11:26:12.000000000 +0100 +@@ -32,6 +32,8 @@ + #ifndef __NSCEMAKE_MD3_H + #define __NSCEMAKE_MD3_H + ++#include <cstdlib> ++#include <cstring> + #include "base.h" + #include "converter.h" + +--- nscemake/md5mesh.cpp.old 2009-01-23 11:36:28.000000000 +0100 ++++ nscemake/md5mesh.cpp 2009-01-23 11:37:04.000000000 +0100 +@@ -30,6 +30,7 @@ + ***************************************************************************/ + + #include "md5mesh.h" ++#include <cstdlib> + + #include <neoengine/file.h> + #include <neoengine/nemath.h> +--- nscemake/q3map.cpp.old 2009-01-23 11:39:43.000000000 +0100 ++++ nscemake/q3map.cpp 2009-01-23 11:40:18.000000000 +0100 +@@ -30,6 +30,7 @@ + ***************************************************************************/ + + #include "q3map.h" ++#include <cstdlib> + #include "q3maptypes.h" + + #include <neoengine/vertex.h> +--- nscemake/ut2.cpp.old 2009-01-23 11:41:29.000000000 +0100 ++++ nscemake/ut2.cpp 2009-01-23 11:41:52.000000000 +0100 +@@ -30,6 +30,7 @@ + ***************************************************************************/ + + #include "ut2.h" ++#include <cstring> + + #include <neoengine/file.h> + #include <neoengine/logstream.h> + diff --git a/dev-games/neotools/neotools-0.8.2.ebuild b/dev-games/neotools/neotools-0.8.2.ebuild index 83033752b4cb..6e7dd29f45a7 100644 --- a/dev-games/neotools/neotools-0.8.2.ebuild +++ b/dev-games/neotools/neotools-0.8.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/neotools/neotools-0.8.2.ebuild,v 1.3 2008/02/14 05:49:49 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/neotools/neotools-0.8.2.ebuild,v 1.4 2009/01/23 10:58:08 tupone Exp $ inherit eutils autotools @@ -29,7 +29,8 @@ src_unpack() { -e 's/ -Werror//' \ configure.in - epatch "${FILESDIR}"/${P}-errno.patch + epatch "${FILESDIR}"/${P}-errno.patch \ + "${FILESDIR}"/${P}-gcc43.patch eautoreconf || die "eautoreconf failed" } |