summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-06-08 16:01:18 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-06-08 16:01:18 +0000
commit526621338df9daef0f08893fc5a3b29c0366d7b6 (patch)
tree05111ade6bd06d5f1715f65040bbd5fe1048a793 /games-mud/kmuddy
parentDelete calls to deprecated python_version(). (diff)
downloadgentoo-2-526621338df9daef0f08893fc5a3b29c0366d7b6.tar.gz
gentoo-2-526621338df9daef0f08893fc5a3b29c0366d7b6.tar.bz2
gentoo-2-526621338df9daef0f08893fc5a3b29c0366d7b6.zip
Fix build with gcc-4.5 Bug #323075
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-mud/kmuddy')
-rw-r--r--games-mud/kmuddy/ChangeLog8
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch11
-rw-r--r--games-mud/kmuddy/kmuddy-1.0.1.ebuild6
3 files changed, 21 insertions, 4 deletions
diff --git a/games-mud/kmuddy/ChangeLog b/games-mud/kmuddy/ChangeLog
index 584912a2521e..6b6d4bd6eff6 100644
--- a/games-mud/kmuddy/ChangeLog
+++ b/games-mud/kmuddy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-mud/kmuddy
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/ChangeLog,v 1.26 2009/12/23 21:04:49 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/ChangeLog,v 1.27 2010/06/08 16:01:18 tupone Exp $
+
+ 08 Jun 2010; Tupone Alfredo <tupone@gentoo.org> kmuddy-1.0.1.ebuild,
+ +files/kmuddy-1.0.1-gcc45.patch:
+ Fix build with gcc-4.5 Bug #323075 by flameeyes@gentoo.org
23 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> kmuddy-1.0.1.ebuild:
amd64 stable wrt #295909
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
new file mode 100644
index 000000000000..34b403c14715
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
@@ -0,0 +1,11 @@
+--- plugins/mapper/filefilters/cmapfilefilterkmudone.cpp.old 2010-06-08 17:55:09.000000000 +0200
++++ plugins/mapper/filefilters/cmapfilefilterkmudone.cpp 2010-06-08 17:55:49.000000000 +0200
+@@ -215,7 +215,7 @@
+
+ // Set room properties
+ room->setUseDefaultCol(in_room.useDefaultCol);
+- room->setColor(QColor::QColor(in_room.red,in_room.green,in_room.blue));
++ room->setColor(QColor(in_room.red,in_room.green,in_room.blue));
+ room->setLabel(label);
+ room->setDescription(description);
+
diff --git a/games-mud/kmuddy/kmuddy-1.0.1.ebuild b/games-mud/kmuddy/kmuddy-1.0.1.ebuild
index bba4cd597dc5..cec23600a76c 100644
--- a/games-mud/kmuddy/kmuddy-1.0.1.ebuild
+++ b/games-mud/kmuddy/kmuddy-1.0.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/kmuddy-1.0.1.ebuild,v 1.3 2009/12/23 21:04:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/kmuddy/kmuddy-1.0.1.ebuild,v 1.4 2010/06/08 16:01:18 tupone Exp $
EAPI=2
@@ -19,6 +19,8 @@ IUSE="debug handbook"
DOC="AUTHORS README CHANGELOG Scripting-HOWTO TODO DESIGN"
+PATCHES=( "${FILESDIR}"/${P}-gcc45.patch )
+
src_configure() {
# not in portage yet
mycmakeargs+="