summaryrefslogtreecommitdiff
path: root/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
diff options
context:
space:
mode:
Diffstat (limited to 'games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper')
-rw-r--r--games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper29
1 files changed, 0 insertions, 29 deletions
diff --git a/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper b/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
deleted file mode 100644
index 8c96582be9ed..000000000000
--- a/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
+++ /dev/null
@@ -1,29 +0,0 @@
---- 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)