Modified: trunk/dports/games/flobopuyo/Portfile (117276 => 117277)
--- trunk/dports/games/flobopuyo/Portfile 2014-02-21 05:35:48 UTC (rev 117276)
+++ trunk/dports/games/flobopuyo/Portfile 2014-02-21 05:37:25 UTC (rev 117277)
@@ -23,7 +23,9 @@
use_configure no
# Makefile "knows" that all Darwin programs live in app bundles
-patchfiles patch-Makefile
+patchfiles patch-Makefile \
+ IosVector.cpp.patch \
+ PuyoGame.cpp.patch
build.args PREFIX=${prefix}
destroot.args PREFIX=${prefix} INSTALL_BINDIR='${destroot}${prefix}/bin'
Added: trunk/dports/games/flobopuyo/files/IosVector.cpp.patch (0 => 117277)
--- trunk/dports/games/flobopuyo/files/IosVector.cpp.patch (rev 0)
+++ trunk/dports/games/flobopuyo/files/IosVector.cpp.patch 2014-02-21 05:37:25 UTC (rev 117277)
@@ -0,0 +1,10 @@
+--- IosVector.cpp.orig 2004-10-09 08:41:12.000000000 +1000
++++ IosVector.cpp 2014-02-21 16:31:24.000000000 +1100
+@@ -102,6 +102,6 @@
+ 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");
+ }
Added: trunk/dports/games/flobopuyo/files/PuyoGame.cpp.patch (0 => 117277)
--- trunk/dports/games/flobopuyo/files/PuyoGame.cpp.patch (rev 0)
+++ trunk/dports/games/flobopuyo/files/PuyoGame.cpp.patch 2014-02-21 05:37:25 UTC (rev 117277)
@@ -0,0 +1,11 @@
+--- PuyoGame.cpp.orig 2004-10-09 08:41:13.000000000 +1000
++++ PuyoGame.cpp 2014-02-21 16:15:57.000000000 +1100
+@@ -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)