diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2006-01-03 01:24:26 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2006-01-03 01:24:26 +0000 |
commit | fd3208c288e2d74399462a9c8026f224769f67c2 (patch) | |
tree | bf8301845b1fd7d8a975afc86386daf835ab7259 /games-puzzle/flobopuyo/files | |
parent | masked for testing (diff) | |
download | gentoo-2-fd3208c288e2d74399462a9c8026f224769f67c2.tar.gz gentoo-2-fd3208c288e2d74399462a9c8026f224769f67c2.tar.bz2 gentoo-2-fd3208c288e2d74399462a9c8026f224769f67c2.zip |
Add patch to fix compilation on gcc-4, thanks to Diego Pettenò <flameeyes@gentoo.org>; bug #106406
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'games-puzzle/flobopuyo/files')
-rw-r--r-- | games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc4.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc4.patch b/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc4.patch new file mode 100644 index 000000000000..6c5d39445a4c --- /dev/null +++ b/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc4.patch @@ -0,0 +1,25 @@ +Index: flobopuyo-0.20/IosVector.cpp +=================================================================== +--- flobopuyo-0.20.orig/IosVector.cpp ++++ flobopuyo-0.20/IosVector.cpp +@@ -102,6 +102,6 @@ void IosVector::increaseVectorSize()
+ void IosVector::dumpVector() const {
+ fprintf(stderr, "Size: %d\n", getSize());
+ for (int i = 0, j = getSize() ; i < j ; i++)
+- fprintf(stderr, "elt[%d]=%d ", i, (int)getElementAt(i));
++ fprintf(stderr, "elt[%d]=%p ", i, getElementAt(i));
+ fprintf(stderr, "\n");
+ }
+Index: flobopuyo-0.20/PuyoGame.cpp +=================================================================== +--- flobopuyo-0.20.orig/PuyoGame.cpp ++++ flobopuyo-0.20/PuyoGame.cpp +@@ -45,7 +45,7 @@ PuyoState PuyoRandomSystem::getPuyoForSe + return (PuyoState)newItem;
+ }
+ else
+- return (PuyoState)(int)(sequenceItems.getElementAt(sequence));
++ return (PuyoState)(long)(sequenceItems.getElementAt(sequence));
+ }
+
+ PuyoPuyo::PuyoPuyo(PuyoState state)
|