diff options
author | James Harlow <hythloday@gentoo.org> | 2003-12-16 23:43:57 +0000 |
---|---|---|
committer | James Harlow <hythloday@gentoo.org> | 2003-12-16 23:43:57 +0000 |
commit | f21ef1f6076969a2ff1880c1082ca8921b0a0f71 (patch) | |
tree | 48764d8fa0a35a1128bf31d3fdbc2156663d10b0 /games-rpg | |
parent | Marked stable for amd64 and ia64 (diff) | |
download | gentoo-2-f21ef1f6076969a2ff1880c1082ca8921b0a0f71.tar.gz gentoo-2-f21ef1f6076969a2ff1880c1082ca8921b0a0f71.tar.bz2 gentoo-2-f21ef1f6076969a2ff1880c1082ca8921b0a0f71.zip |
Fixed what I think is a gcc-3.2 specific error.
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/planeshift/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff | 12 | ||||
-rw-r--r-- | games-rpg/planeshift/planeshift-0.2.010-r1.ebuild | 7 |
3 files changed, 21 insertions, 3 deletions
diff --git a/games-rpg/planeshift/Manifest b/games-rpg/planeshift/Manifest index 15d366187ff0..7614f8eeff79 100644 --- a/games-rpg/planeshift/Manifest +++ b/games-rpg/planeshift/Manifest @@ -1,5 +1,6 @@ +MD5 949361fe8e9403068a91014b0a597fc7 planeshift-0.2.010-r1.ebuild 1490 MD5 4b29c91fae2e230a445b2eaa0204d390 ChangeLog 1037 -MD5 98b3fffcb8064c0020879cd8e388fbd3 planeshift-0.2.010-r1.ebuild 1416 MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 -MD5 a6b3c03bb00760172f490ae59e50cd32 files/digest-planeshift-0.2.010-r1 73 MD5 b8b8a31f70400cd54c5b8cfea9af368a files/planeshift 116 +MD5 94847ea277df082a561148a98614bfa1 files/planeshift-0.2.010-fix-cast.diff 507 +MD5 a6b3c03bb00760172f490ae59e50cd32 files/digest-planeshift-0.2.010-r1 73 diff --git a/games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff b/games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff new file mode 100644 index 000000000000..14b8a6eb2026 --- /dev/null +++ b/games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff @@ -0,0 +1,12 @@ +--- planeshift/src/server/psdatabase.cpp~ 2003-12-16 18:05:24.000000000 +0000 ++++ planeshift/src/server/psdatabase.cpp 2003-12-16 18:03:23.000000000 +0000 +@@ -2371,7 +2371,8 @@ + int epos = questName.FindSubStringReverse(sep, questName.Length()); + + csString temp (""); +- temp.Append(questName + spos, epos-spos); ++ sprintf ( buffer, "%s%d", eventName, spos ); ++ temp.Append( buffer, epos-spos); + printf("InsertQuestEvent quest name: %s", temp.GetData()); + + csString command( "" ); diff --git a/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild b/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild index 07f49a57a612..bb57093cc000 100644 --- a/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild +++ b/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild,v 1.2 2003/10/27 00:01:33 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild,v 1.3 2003/12/16 23:43:48 hythloday Exp $ inherit games @@ -22,6 +22,11 @@ export PLANESHIFT_PREFIX=${PLANESHIFT_PREFIX:-${GAMES_PREFIX_OPT}/${PN}} export CRYSTAL_PREFIX=${CRYSTAL_PREFIX:-${GAMES_PREFIX_OPT}/crystal} export CEL_PREFIX=${CEL_PREFIX:-${CRYSTAL_PREFIX}} +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-fix-cast.diff +} + src_compile() { env \ -uCEL \ |