summaryrefslogtreecommitdiffstats
path: root/games/wesnoth/files
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 01:53:54 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 01:53:54 +0800
commit42e1d052cd9d135da30fd4ece32cdb15f0c377ca (patch)
tree9d3d88d541265db7cc93238d8a5384c0037debeb /games/wesnoth/files
parentd759a2a0c7e333a2ca526e94875dbeac5feeeef3 (diff)
downloadmarcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.gz
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.bz2
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.lz
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.xz
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.zst
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9256 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/wesnoth/files')
-rw-r--r--games/wesnoth/files/patch-fix_freebsd4_build_towupper29
-rw-r--r--games/wesnoth/files/patch-src::help.cpp11
-rw-r--r--games/wesnoth/files/patch-src::language.cpp15
3 files changed, 55 insertions, 0 deletions
diff --git a/games/wesnoth/files/patch-fix_freebsd4_build_towupper b/games/wesnoth/files/patch-fix_freebsd4_build_towupper
new file mode 100644
index 000000000..91b9d3bc7
--- /dev/null
+++ b/games/wesnoth/files/patch-fix_freebsd4_build_towupper
@@ -0,0 +1,29 @@
+--- src/serialization/string_utils.cpp.orig Sun Dec 24 19:41:45 2006
++++ src/serialization/string_utils.cpp Sun Dec 24 19:42:29 2006
+@@ -609,7 +609,7 @@
+ {
+ if(s.size() > 0) {
+ utf8_iterator itor(s);
+-#if defined(__APPLE__) || defined(__AMIGAOS4__)
++#if __FreeBSD__ < 5
+ // FIXME: Should we support towupper on recent OSX platforms?
+ wchar_t uchar = *itor;
+ if(uchar >= 0 && uchar < 0x100)
+@@ -631,7 +631,7 @@
+ std::string res;
+
+ for(;itor != utf8_iterator::end(s); ++itor) {
+-#if defined(__APPLE__) || defined(__AMIGAOS4__)
++#if __FreeBSD__ < 5
+ // FIXME: Should we support towupper on recent OSX platforms?
+ wchar_t uchar = *itor;
+ if(uchar >= 0 && uchar < 0x100)
+@@ -654,7 +654,7 @@
+ std::string res;
+
+ for(;itor != utf8_iterator::end(s); ++itor) {
+-#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__AMIGAOS4__)
++#if __FreeBSD__ < 5
+ // FIXME: Should we support towupper on recent OSX platforms?
+ wchar_t uchar = *itor;
+ if(uchar >= 0 && uchar < 0x100)
diff --git a/games/wesnoth/files/patch-src::help.cpp b/games/wesnoth/files/patch-src::help.cpp
new file mode 100644
index 000000000..926ac47fe
--- /dev/null
+++ b/games/wesnoth/files/patch-src::help.cpp
@@ -0,0 +1,11 @@
+--- src/help.cpp.orig Tue Jun 7 19:34:15 2005
++++ src/help.cpp Tue Jun 7 19:34:22 2005
+@@ -41,7 +41,7 @@
+ #include <algorithm>
+ #include <iostream>
+ #include <list>
+-#include <locale>
++#include <locale.h>
+ #include <map>
+ #include <queue>
+ #include <set>
diff --git a/games/wesnoth/files/patch-src::language.cpp b/games/wesnoth/files/patch-src::language.cpp
new file mode 100644
index 000000000..7f06454db
--- /dev/null
+++ b/games/wesnoth/files/patch-src::language.cpp
@@ -0,0 +1,15 @@
+--- src/language.cpp.orig Mon Jul 25 13:44:10 2005
++++ src/language.cpp Mon Jul 25 13:45:47 2005
+@@ -133,12 +133,10 @@
+ unsetenv ("LANGUAGE"); // void so no return value to check
+ #endif
+
+-#ifdef __BEOS__
+ if(setenv ("LANG", locale, 1) == -1)
+ std::cerr << "setenv LANG failed: " << strerror(errno);
+ if(setenv ("LC_ALL", locale, 1) == -1)
+ std::cerr << "setenv LC_ALL failed: " << strerror(errno);
+-#endif
+ #ifdef __APPLE__
+ if(setenv ("LANGUAGE", locale, 1) == -1)
+ std::cerr << "setenv LANGUAGE failed: " << strerror(errno);