svn commit: r327197 - head/games/chapping/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Sep 14 01:14:17 UTC 2013


Author: amdmi3
Date: Sat Sep 14 01:14:15 2013
New Revision: 327197
URL: http://svnweb.freebsd.org/changeset/ports/327197

Log:
  Fix build with clang/libc++

Added:
  head/games/chapping/files/patch-game-choosestadium.cpp   (contents, props changed)
  head/games/chapping/files/patch-game-soccergame.cpp   (contents, props changed)

Added: head/games/chapping/files/patch-game-choosestadium.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chapping/files/patch-game-choosestadium.cpp	Sat Sep 14 01:14:15 2013	(r327197)
@@ -0,0 +1,10 @@
+--- game/choosestadium.cpp.orig	2013-09-13 21:14:11.171227695 +0400
++++ game/choosestadium.cpp	2013-09-13 21:14:29.875227107 +0400
+@@ -5,6 +5,7 @@
+ #include <fstream>
+ #include <sys/stat.h>
+ #include <dirent.h>
++#include <unistd.h> // for chdir()
+ 
+ #define THEMES_DIR "/home/amdmi3/projects/freebsd/ports/games/chapping/prefix/share/chapping/themes/"
+ 

Added: head/games/chapping/files/patch-game-soccergame.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chapping/files/patch-game-soccergame.cpp	Sat Sep 14 01:14:15 2013	(r327197)
@@ -0,0 +1,8 @@
+--- game/soccergame.cpp.orig	2013-09-13 20:44:15.075226353 +0400
++++ game/soccergame.cpp	2013-09-13 20:45:02.462227890 +0400
+@@ -1,3 +1,5 @@
++#include <unistd.h> // for chdir
++
+ #include "soccergame.h"
+ #include "stadium.h"
+ #include "menuchapping.h"


More information about the svn-ports-all mailing list