diff options
author | ak <ak@FreeBSD.org> | 2013-11-24 21:05:25 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2013-11-24 21:05:25 +0800 |
commit | 69a04763e99c2fd51e6ae9b087c2c6bc8e238a23 (patch) | |
tree | cdc3a752476a4a1f3e3d4f816be9e7a41fa83b0c /games/wesnoth | |
parent | b562801e8c5bfa3d435b8a720ddd11405b117a28 (diff) | |
download | freebsd-ports-gnome-69a04763e99c2fd51e6ae9b087c2c6bc8e238a23.tar.gz freebsd-ports-gnome-69a04763e99c2fd51e6ae9b087c2c6bc8e238a23.tar.zst freebsd-ports-gnome-69a04763e99c2fd51e6ae9b087c2c6bc8e238a23.zip |
- Fix build with clang [1]
PR: ports/183627
Reported by: Pavlo Greenberg <dog@virtual.org.ua>
Submitted by: Oleg Ginzburg <olevole@olevole.ru> [1]
Approved by: Rusty Nejdl <rnejdl@ringofsaturn.com> (maintainer)
Diffstat (limited to 'games/wesnoth')
-rw-r--r-- | games/wesnoth/files/patch-src-chat_events.hpp | 10 | ||||
-rw-r--r-- | games/wesnoth/files/patch-src-server-metrics.hpp | 10 | ||||
-rw-r--r-- | games/wesnoth/files/patch-src-server-user_handler.cpp | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/games/wesnoth/files/patch-src-chat_events.hpp b/games/wesnoth/files/patch-src-chat_events.hpp new file mode 100644 index 000000000000..88f4efb09510 --- /dev/null +++ b/games/wesnoth/files/patch-src-chat_events.hpp @@ -0,0 +1,10 @@ +--- src/chat_events.hpp.orig 2013-11-09 20:12:59.000000000 +0400 ++++ src/chat_events.hpp 2013-11-09 20:13:07.000000000 +0400 +@@ -20,6 +20,7 @@ + #include "global.hpp" + + #include <string> ++#include <time.h> + + namespace events { + diff --git a/games/wesnoth/files/patch-src-server-metrics.hpp b/games/wesnoth/files/patch-src-server-metrics.hpp new file mode 100644 index 000000000000..2e0752054826 --- /dev/null +++ b/games/wesnoth/files/patch-src-server-metrics.hpp @@ -0,0 +1,10 @@ +--- src/server/metrics.hpp.orig 2013-11-09 20:10:45.000000000 +0400 ++++ src/server/metrics.hpp 2013-11-09 20:10:50.000000000 +0400 +@@ -27,6 +27,7 @@ + #endif + + #include "simple_wml.hpp" ++#include <time.h> + + class metrics + { diff --git a/games/wesnoth/files/patch-src-server-user_handler.cpp b/games/wesnoth/files/patch-src-server-user_handler.cpp new file mode 100644 index 000000000000..c542d36d834f --- /dev/null +++ b/games/wesnoth/files/patch-src-server-user_handler.cpp @@ -0,0 +1,10 @@ +--- src/server/user_handler.cpp.orig 2013-11-09 20:09:08.000000000 +0400 ++++ src/server/user_handler.cpp 2013-11-09 20:09:19.000000000 +0400 +@@ -18,6 +18,7 @@ + #include "serialization/string_utils.hpp" + + #include <ctime> ++#include <time.h> + + bool user_handler::send_mail(const std::string& to_user, + const std::string& /*subject*/, const std::string& /*message*/) { |