Fix build with clang/libc++
This commit is contained in:
10
games/chapping/files/patch-game-choosestadium.cpp
Normal file
10
games/chapping/files/patch-game-choosestadium.cpp
Normal file
@@ -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/"
|
||||
|
||||
8
games/chapping/files/patch-game-soccergame.cpp
Normal file
8
games/chapping/files/patch-game-soccergame.cpp
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user