aboutsummaryrefslogtreecommitdiff
path: root/games/widelands
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 01:15:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 01:15:25 +0000
commit0b47bc6842ee4fa3af084840fd3c992ec2c32cab (patch)
tree6a981ca9636e1d824e62868ff6a71b384caf2fd6 /games/widelands
parent68e7dd5c227045ffce75c19274f2076accdef37b (diff)
Notes
Diffstat (limited to 'games/widelands')
-rw-r--r--games/widelands/files/patch-src-i18n.cc10
-rw-r--r--games/widelands/files/patch-src-io-filesystem-disk__filesystem.cc10
-rw-r--r--games/widelands/files/patch-src-journal__exceptions.h10
-rw-r--r--games/widelands/files/patch-src-main.cc10
-rw-r--r--games/widelands/files/patch-src-writeHTML.cc11
5 files changed, 51 insertions, 0 deletions
diff --git a/games/widelands/files/patch-src-i18n.cc b/games/widelands/files/patch-src-i18n.cc
new file mode 100644
index 000000000000..4aac45aaab04
--- /dev/null
+++ b/games/widelands/files/patch-src-i18n.cc
@@ -0,0 +1,10 @@
+--- src/i18n.cc.orig 2012-04-23 13:46:49.000000000 +0400
++++ src/i18n.cc 2013-09-13 20:18:48.792226136 +0400
+@@ -27,6 +27,7 @@
+
+ #include <cstdlib>
+ #include <utility>
++#include <clocale>
+
+ #if __APPLE__ && LIBINTL_VERSION >= 0x001201
+ // for older libintl versions, setlocale is just fine
diff --git a/games/widelands/files/patch-src-io-filesystem-disk__filesystem.cc b/games/widelands/files/patch-src-io-filesystem-disk__filesystem.cc
new file mode 100644
index 000000000000..0b10e7da4565
--- /dev/null
+++ b/games/widelands/files/patch-src-io-filesystem-disk__filesystem.cc
@@ -0,0 +1,10 @@
+--- src/io/filesystem/disk_filesystem.cc.orig 2012-04-23 13:46:49.000000000 +0400
++++ src/io/filesystem/disk_filesystem.cc 2013-09-13 20:35:42.666227898 +0400
+@@ -43,6 +43,7 @@
+ #include <sys/statvfs.h>
+ #include <sys/types.h>
+ #include <fcntl.h>
++#include <unistd.h> // for unlink()
+ #ifndef _GNU_SOURCE
+ #define _GNU_SOURCE // for O_NOATIME
+ #endif
diff --git a/games/widelands/files/patch-src-journal__exceptions.h b/games/widelands/files/patch-src-journal__exceptions.h
new file mode 100644
index 000000000000..6f850c0a2057
--- /dev/null
+++ b/games/widelands/files/patch-src-journal__exceptions.h
@@ -0,0 +1,10 @@
+--- src/journal_exceptions.h.orig 2012-04-23 13:46:49.000000000 +0400
++++ src/journal_exceptions.h 2013-09-13 21:33:33.010227122 +0400
+@@ -22,6 +22,7 @@
+
+ #include <stdint.h>
+ #include <stdexcept>
++#include <string>
+
+ ///
+ /// Thrown for IO-errors occurring with a journal file (unable to open file
diff --git a/games/widelands/files/patch-src-main.cc b/games/widelands/files/patch-src-main.cc
new file mode 100644
index 000000000000..2dffd82e43d8
--- /dev/null
+++ b/games/widelands/files/patch-src-main.cc
@@ -0,0 +1,10 @@
+--- src/main.cc.orig 2012-04-23 13:46:49.000000000 +0400
++++ src/main.cc 2013-09-13 22:45:51.418226482 +0400
+@@ -34,6 +34,7 @@
+ #ifndef WIN32
+ #include <syslog.h>
+ #include <fcntl.h>
++#include <unistd.h>
+ #endif
+
+ using std::cerr;
diff --git a/games/widelands/files/patch-src-writeHTML.cc b/games/widelands/files/patch-src-writeHTML.cc
new file mode 100644
index 000000000000..390c49448cd2
--- /dev/null
+++ b/games/widelands/files/patch-src-writeHTML.cc
@@ -0,0 +1,11 @@
+--- src/writeHTML.cc.orig 2012-04-23 13:46:49.000000000 +0400
++++ src/writeHTML.cc 2013-09-13 22:31:32.367226376 +0400
+@@ -223,7 +223,7 @@
+ // A container to keep the types ordered by descname for the table of
+ // contents.
+ struct orderer {
+- bool operator () (std::string const * const a, std::string const * const b)
++ bool operator () (std::string const * const a, std::string const * const b) const
+ {
+ return *a < *b;
+ }