[117277] trunk/dports/games/flobopuyo

jmr at macports.org jmr at macports.org
Thu Feb 20 21:37:25 PST 2014


Revision: 117277
          https://trac.macports.org/changeset/117277
Author:   jmr at macports.org
Date:     2014-02-20 21:37:25 -0800 (Thu, 20 Feb 2014)
Log Message:
-----------
flobopuyo: build fix for 64-bit

Modified Paths:
--------------
    trunk/dports/games/flobopuyo/Portfile

Added Paths:
-----------
    trunk/dports/games/flobopuyo/files/IosVector.cpp.patch
    trunk/dports/games/flobopuyo/files/PuyoGame.cpp.patch

Modified: trunk/dports/games/flobopuyo/Portfile
===================================================================
--- 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
===================================================================
--- 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
===================================================================
--- 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140220/f0a759a6/attachment.html>


More information about the macports-changes mailing list