- Fix build on DragonFly

This commit is contained in:
Dmitry Marakasov 2015-04-01 14:10:20 +00:00
parent 9aaa6e83bc
commit 113296853a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382914
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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"
/*------------------------------------------------------