diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-04-01 22:10:20 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-04-01 22:10:20 +0800 |
commit | a92581bdc03d7be67a6be16d83467208402bb398 (patch) | |
tree | eb56c216af45fd783482e3b28575edf399d8755b /games/sdlsand | |
parent | 513f9331905b1ea068e5e65e3c06df5c78956e3e (diff) | |
download | freebsd-ports-gnome-a92581bdc03d7be67a6be16d83467208402bb398.tar.gz freebsd-ports-gnome-a92581bdc03d7be67a6be16d83467208402bb398.tar.zst freebsd-ports-gnome-a92581bdc03d7be67a6be16d83467208402bb398.zip |
- Fix build on DragonFly
Diffstat (limited to 'games/sdlsand')
-rw-r--r-- | games/sdlsand/Makefile | 3 | ||||
-rw-r--r-- | games/sdlsand/files/patch-CmdLine.cpp | 10 |
2 files changed, 12 insertions, 1 deletions
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 <string.h> + #include "CmdLine.h" + + /*------------------------------------------------------ |