aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/flobopuyo/Makefile8
-rw-r--r--games/flobopuyo/files/patch-IosVector.cpp10
-rw-r--r--games/flobopuyo/files/patch-PuyoGame.cpp11
3 files changed, 22 insertions, 7 deletions
diff --git a/games/flobopuyo/Makefile b/games/flobopuyo/Makefile
index 36ac936ce642..6c292bbb6dc6 100644
--- a/games/flobopuyo/Makefile
+++ b/games/flobopuyo/Makefile
@@ -20,12 +20,6 @@ USE_BISON= build
USE_GMAKE= yes
USE_SDL= sdl mixer image
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64" && ${OSVERSION} >= 700000
-BROKEN= Doesn't build
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
@@ -34,4 +28,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|^INSTALL_DATADIR=.*$$|INSTALL_DATADIR=${DATADIR}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^INSTALL_BINDIR=.*$$|INSTALL_BINDIR=${PREFIX}/bin|' ${WRKSRC}/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/flobopuyo/files/patch-IosVector.cpp b/games/flobopuyo/files/patch-IosVector.cpp
new file mode 100644
index 000000000000..fe406550f522
--- /dev/null
+++ b/games/flobopuyo/files/patch-IosVector.cpp
@@ -0,0 +1,10 @@
+--- IosVector.cpp.orig 2007-10-30 13:24:55.000000000 +0100
++++ IosVector.cpp 2007-10-30 13:25:29.000000000 +0100
+@@ -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");
+ }
diff --git a/games/flobopuyo/files/patch-PuyoGame.cpp b/games/flobopuyo/files/patch-PuyoGame.cpp
new file mode 100644
index 000000000000..244798c65fb4
--- /dev/null
+++ b/games/flobopuyo/files/patch-PuyoGame.cpp
@@ -0,0 +1,11 @@
+--- PuyoGame.cpp.orig 2007-10-30 13:27:05.000000000 +0100
++++ PuyoGame.cpp 2007-10-30 13:28:39.000000000 +0100
+@@ -45,7 +45,7 @@
+ return (PuyoState)newItem;
+ }
+ else
+- return (PuyoState)(int)(sequenceItems.getElementAt(sequence));
++ return (PuyoState)(long)(sequenceItems.getElementAt(sequence));
+ }
+
+ PuyoPuyo::PuyoPuyo(PuyoState state)