diff --git a/games/sdlsand/Makefile b/games/sdlsand/Makefile index d9f648f8f966..3abab8957947 100644 --- a/games/sdlsand/Makefile +++ b/games/sdlsand/Makefile @@ -10,7 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simulation of falling sand and other materials -USES= zip +USES= dos2unix zip +DOS2UNIX_FILES= CmdLine.cpp USE_SDL= sdl WRKSRC= ${WRKDIR}/SDL\ Sand/SDL\ Sand diff --git a/games/sdlsand/files/patch-CmdLine.cpp b/games/sdlsand/files/patch-CmdLine.cpp new file mode 100644 index 000000000000..15dc3d3e10d0 --- /dev/null +++ b/games/sdlsand/files/patch-CmdLine.cpp @@ -0,0 +1,10 @@ +--- CmdLine.cpp.orig 2015-03-27 03:02:22.542305000 +0300 ++++ CmdLine.cpp 2015-03-27 03:02:46.761263000 +0300 +@@ -32,6 +32,7 @@ + // if you're using MFC, you'll need to un-comment this line + // #include "stdafx.h" + ++#include + #include "CmdLine.h" + + /*------------------------------------------------------