summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-12-17 15:41:37 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-12-17 15:41:37 +0000
commiteab55b1b9f7b9f7884a76bd9307e58808e7bc341 (patch)
treede76fbd62981f3a01a06c7f4a9a42ad84a85ca5b /games-engines
parentSparc stable, Bug #251285. (diff)
downloadgentoo-2-eab55b1b9f7b9f7884a76bd9307e58808e7bc341.tar.gz
gentoo-2-eab55b1b9f7b9f7884a76bd9307e58808e7bc341.tar.bz2
gentoo-2-eab55b1b9f7b9f7884a76bd9307e58808e7bc341.zip
add gcc43 build patch from Arttu Valo (bug #251134)
(Portage version: 2.1.4.5)
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/stratagus/ChangeLog8
-rw-r--r--games-engines/stratagus/files/stratagus-2.2.4-gcc43.patch11
-rw-r--r--games-engines/stratagus/stratagus-2.2.4.ebuild7
3 files changed, 21 insertions, 5 deletions
diff --git a/games-engines/stratagus/ChangeLog b/games-engines/stratagus/ChangeLog
index f016ebcf2d90..310937a388dd 100644
--- a/games-engines/stratagus/ChangeLog
+++ b/games-engines/stratagus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-engines/stratagus
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.16 2007/04/10 01:44:31 nyhm Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.17 2008/12/17 15:41:37 mr_bones_ Exp $
+
+ 17 Dec 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/stratagus-2.2.4-gcc43.patch, stratagus-2.2.4.ebuild:
+ add gcc43 build patch from Arttu Valo (bug #251134)
*stratagus-2.2.4 (10 Apr 2007)
diff --git a/games-engines/stratagus/files/stratagus-2.2.4-gcc43.patch b/games-engines/stratagus/files/stratagus-2.2.4-gcc43.patch
new file mode 100644
index 000000000000..c8376496cdfa
--- /dev/null
+++ b/games-engines/stratagus/files/stratagus-2.2.4-gcc43.patch
@@ -0,0 +1,11 @@
+diff -ur stratagus-2.2.4.old/src/video/movie.cpp stratagus-2.2.4/src/video/movie.cpp
+--- stratagus-2.2.4.old/src/video/movie.cpp 2008-12-17 16:41:10.000000000 +0200
++++ stratagus-2.2.4/src/video/movie.cpp 2008-12-17 17:00:37.000000000 +0200
+@@ -299,6 +299,7 @@
+ #else
+
+ #include <string>
++#include <cstring>
+
+ /**
+ ** FIXME: docu
diff --git a/games-engines/stratagus/stratagus-2.2.4.ebuild b/games-engines/stratagus/stratagus-2.2.4.ebuild
index 0eeee8841119..2223fd345c32 100644
--- a/games-engines/stratagus/stratagus-2.2.4.ebuild
+++ b/games-engines/stratagus/stratagus-2.2.4.ebuild
@@ -1,8 +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/games-engines/stratagus/stratagus-2.2.4.ebuild,v 1.1 2007/04/10 01:44:31 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.2.4.ebuild,v 1.2 2008/12/17 15:41:37 mr_bones_ Exp $
-inherit games
+inherit eutils games
DESCRIPTION="A realtime strategy game engine"
HOMEPAGE="http://www.stratagus.org/"
@@ -33,6 +33,7 @@ src_unpack() {
-e 's/-O.*\(-fsigned-char\).*/\1"/' \
configure \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
}
src_compile() {