Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 14:10:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382914 - in head/games/sdlsand: . files
Message-ID:  <201504011410.t31EALR9002981@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Apr  1 14:10:20 2015
New Revision: 382914
URL: https://svnweb.freebsd.org/changeset/ports/382914
QAT: https://qat.redports.org/buildarchive/r382914/

Log:
  - Fix build on DragonFly

Added:
  head/games/sdlsand/files/
  head/games/sdlsand/files/patch-CmdLine.cpp   (contents, props changed)
Modified:
  head/games/sdlsand/Makefile

Modified: head/games/sdlsand/Makefile
==============================================================================
--- head/games/sdlsand/Makefile	Wed Apr  1 13:58:14 2015	(r382913)
+++ head/games/sdlsand/Makefile	Wed Apr  1 14:10:20 2015	(r382914)
@@ -10,7 +10,8 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 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

Added: head/games/sdlsand/files/patch-CmdLine.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/sdlsand/files/patch-CmdLine.cpp	Wed Apr  1 14:10:20 2015	(r382914)
@@ -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"
+ 
+ /*------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504011410.t31EALR9002981>