summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-04-27 13:34:13 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-04-27 13:34:13 +0000
commit0c616741b099d00225310a12ae1aad591195f922 (patch)
treefdb71855f35f8be2e0863fd1fd7a8256edeecb7c /dev-games
parentRevision bump. The "python-compatbility-fix.patch" has been extended. (diff)
downloadgentoo-2-0c616741b099d00225310a12ae1aad591195f922.tar.gz
gentoo-2-0c616741b099d00225310a12ae1aad591195f922.tar.bz2
gentoo-2-0c616741b099d00225310a12ae1aad591195f922.zip
Build with gcc-4.6 Bug #365017
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/cegui/ChangeLog6
-rw-r--r--dev-games/cegui/cegui-0.7.5-r1.ebuild5
-rw-r--r--dev-games/cegui/files/cegui-0.7.5-gcc46.patch10
3 files changed, 18 insertions, 3 deletions
diff --git a/dev-games/cegui/ChangeLog b/dev-games/cegui/ChangeLog
index 17a0bef6bb9c..daaf2f1d3d0f 100644
--- a/dev-games/cegui/ChangeLog
+++ b/dev-games/cegui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/cegui
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.34 2011/04/26 21:08:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.35 2011/04/27 13:34:13 tupone Exp $
+
+ 27 Apr 2011; Tupone Alfredo <tupone@gentoo.org> cegui-0.7.5-r1.ebuild,
+ +files/cegui-0.7.5-gcc46.patch:
+ Build with gcc-4.6 Bug #365017 by Diego Elio Pettenò
*cegui-0.7.5-r1 (26 Apr 2011)
diff --git a/dev-games/cegui/cegui-0.7.5-r1.ebuild b/dev-games/cegui/cegui-0.7.5-r1.ebuild
index ee0d3f42be6a..915ce2c820ea 100644
--- a/dev-games/cegui/cegui-0.7.5-r1.ebuild
+++ b/dev-games/cegui/cegui-0.7.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.7.5-r1.ebuild,v 1.1 2011/04/26 21:08:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.7.5-r1.ebuild,v 1.2 2011/04/27 13:34:13 tupone Exp $
EAPI=4
inherit eutils
@@ -45,7 +45,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
src_prepare() {
- epatch "${FILESDIR}"/${P}-tinyxml.patch
+ epatch "${FILESDIR}"/${P}-tinyxml.patch \
+ "${FILESDIR}"/${P}-gcc46.patch
if use examples ; then
cp -r Samples Samples.clean
diff --git a/dev-games/cegui/files/cegui-0.7.5-gcc46.patch b/dev-games/cegui/files/cegui-0.7.5-gcc46.patch
new file mode 100644
index 000000000000..88f8fccfc206
--- /dev/null
+++ b/dev-games/cegui/files/cegui-0.7.5-gcc46.patch
@@ -0,0 +1,10 @@
+--- cegui/include/CEGUIString.h.old 2011-04-27 14:33:25.862856070 +0200
++++ cegui/include/CEGUIString.h 2011-04-27 14:33:49.780351908 +0200
+@@ -34,6 +34,7 @@
+ #include <string>
+ #include <string.h>
+ #include <stdexcept>
++#include <cstddef>
+
+ // Start of CEGUI namespace section
+ namespace CEGUI