Index: head/games/diameter/Makefile =================================================================== --- head/games/diameter/Makefile (revision 473066) +++ head/games/diameter/Makefile (revision 473067) @@ -1,38 +1,41 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= diameter PORTVERSION= 0.4.0.3 PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/game${PORTNAME}/game${PORTNAME}/${PORTNAME}-0.4.0 MAINTAINER= amdmi3@FreeBSD.org COMMENT= Arcade-style game with elements of economy and adventure BROKEN_armv6= fails to compile: res/3dsloader.cpp:77:15: comparison between pointer and integer ('char *' and 'int') BROKEN_armv7= fails to compile: res/3dsloader.cpp:77:15: comparison between pointer and integer ('char *' and 'int') LIB_DEPENDS= libpng.so:graphics/png \ libguichan.so:devel/guichan -USES= tar:bzip2 gmake pkgconfig python:2.7 +USES= dos2unix tar:bzip2 gmake pkgconfig python:2.7 +DOS2UNIX_FILES= src/res/3dsloader.cpp GNU_CONFIGURE= yes -USE_GL= gl +USE_GL= gl glu USE_SDL= sdl mixer image WRKSRC= ${WRKDIR}/gamediameter CPPFLAGS+= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib + +CXXFLAGS+= -Wno-static-float-init DATADIR= ${PREFIX}/share/gamediameter PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; /^CFLAGS=.*march/ d' \ ${WRKSRC}/configure .include Index: head/games/diameter/files/patch-src_res_3dsloader.cpp =================================================================== --- head/games/diameter/files/patch-src_res_3dsloader.cpp (nonexistent) +++ head/games/diameter/files/patch-src_res_3dsloader.cpp (revision 473067) @@ -0,0 +1,11 @@ +--- src/res/3dsloader.cpp.orig 2008-07-31 11:22:38 UTC ++++ src/res/3dsloader.cpp +@@ -74,7 +74,7 @@ for (i=0; i