aboutsummaryrefslogtreecommitdiff
path: root/games/wesnoth-devel/files
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-10-03 20:14:46 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-10-03 20:14:46 +0000
commit764d835f3fcbab08f7715c5ee9f70b62373b9532 (patch)
tree7f2bd9207fe5b3fc2a5c9d4b729239d749a41b36 /games/wesnoth-devel/files
parent21f2a64d491a11e964857edbf3b1d9df681f0c8a (diff)
Notes
Diffstat (limited to 'games/wesnoth-devel/files')
-rw-r--r--games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper b/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
new file mode 100644
index 000000000000..8c96582be9ed
--- /dev/null
+++ b/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
@@ -0,0 +1,29 @@
+--- src/serialization/string_utils.cpp.orig Mon Oct 3 14:41:14 2005
++++ src/serialization/string_utils.cpp Mon Oct 3 14:42:37 2005
+@@ -565,7 +565,7 @@
+ {
+ if(s.size() > 0) {
+ utf8_iterator itor(s);
+-#ifdef __APPLE__
++#if __FreeBSD__ < 5
+ // FIXME: Should we support towupper on recent OSX platforms?
+ wchar_t uchar = *itor;
+ if(uchar >= 0 && uchar < 0x100)
+@@ -587,7 +587,7 @@
+ std::string res;
+
+ for(;itor != utf8_iterator::end(s); ++itor) {
+-#ifdef __APPLE__
++#if __FreeBSD__ < 5
+ // FIXME: Should we support towupper on recent OSX platforms?
+ wchar_t uchar = *itor;
+ if(uchar >= 0 && uchar < 0x100)
+@@ -610,7 +610,7 @@
+ std::string res;
+
+ for(;itor != utf8_iterator::end(s); ++itor) {
+-#if defined(__APPLE__) || defined(__OpenBSD__)
++#if defined(__APPLE__) || defined(__OpenBSD__) || __FreeBSD__ < 5
+ // FIXME: Should we support towupper on recent OSX platforms?
+ wchar_t uchar = *itor;
+ if(uchar >= 0 && uchar < 0x100)