aboutsummaryrefslogtreecommitdiffstats
path: root/games/chapping
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:14:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:14:15 +0800
commit7cf3a4842fd4c3818579daa910c388f60b6c5a3a (patch)
tree6d19b93f7ad5abcb144da1acda38bf82c4bb6dd2 /games/chapping
parentff420061622f120aa54086cd322e77e824697e6d (diff)
downloadfreebsd-ports-gnome-7cf3a4842fd4c3818579daa910c388f60b6c5a3a.tar.gz
freebsd-ports-gnome-7cf3a4842fd4c3818579daa910c388f60b6c5a3a.tar.zst
freebsd-ports-gnome-7cf3a4842fd4c3818579daa910c388f60b6c5a3a.zip
Fix build with clang/libc++
Diffstat (limited to 'games/chapping')
-rw-r--r--games/chapping/files/patch-game-choosestadium.cpp10
-rw-r--r--games/chapping/files/patch-game-soccergame.cpp8
2 files changed, 18 insertions, 0 deletions
diff --git a/games/chapping/files/patch-game-choosestadium.cpp b/games/chapping/files/patch-game-choosestadium.cpp
new file mode 100644
index 000000000000..3c06c9147fe7
--- /dev/null
+++ b/games/chapping/files/patch-game-choosestadium.cpp
@@ -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/"
+
diff --git a/games/chapping/files/patch-game-soccergame.cpp b/games/chapping/files/patch-game-soccergame.cpp
new file mode 100644
index 000000000000..d21d5a48d694
--- /dev/null
+++ b/games/chapping/files/patch-game-soccergame.cpp
@@ -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"