Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 01:14:08 +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: r327196 - head/games/simplevaders/files
Message-ID:  <201309140114.r8E1E8Wb016268@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Sep 14 01:14:08 2013
New Revision: 327196
URL: http://svnweb.freebsd.org/changeset/ports/327196

Log:
  Fix build with clang/libc++

Added:
  head/games/simplevaders/files/
  head/games/simplevaders/files/patch-main.cpp   (contents, props changed)

Added: head/games/simplevaders/files/patch-main.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/simplevaders/files/patch-main.cpp	Sat Sep 14 01:14:08 2013	(r327196)
@@ -0,0 +1,10 @@
+--- main.cpp.orig	2013-09-13 20:45:37.434226771 +0400
++++ main.cpp	2013-09-13 20:46:02.845227068 +0400
+@@ -34,6 +34,7 @@
+ #include <SDL/SDL_image.h>
+ #include <math.h>
+ #include <string.h>
++#include <unistd.h> // for usleep()
+ 
+ #define ALIEN_SHOOT_DELAY rand() % 5000/(level/5.0f);
+ #define NUM_PSYS 20



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