mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
- Fix build on amd64/gcc42
PR: 117649 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer) Approved by: portmgr (pav)
This commit is contained in:
parent
ca48a04a6c
commit
ee2be28dfa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202439
@ -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>
|
||||
|
10
games/flobopuyo/files/patch-IosVector.cpp
Normal file
10
games/flobopuyo/files/patch-IosVector.cpp
Normal file
@ -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");
|
||||
}
|
11
games/flobopuyo/files/patch-PuyoGame.cpp
Normal file
11
games/flobopuyo/files/patch-PuyoGame.cpp
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user