aboutsummaryrefslogtreecommitdiff
path: root/games/wesnoth-devel
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2006-12-24 21:36:22 +0000
committerPhilip Paeps <philip@FreeBSD.org>2006-12-24 21:36:22 +0000
commit08d1eadca0eed0a24ac8b9f9a973830749b675d4 (patch)
treebb3dc51720983affaf22172d9d49ead18d3a75ab /games/wesnoth-devel
parenta6d41507ee3bd021a00a2154156bff21c76b714a (diff)
downloadports-08d1eadca0eed0a24ac8b9f9a973830749b675d4.tar.gz
ports-08d1eadca0eed0a24ac8b9f9a973830749b675d4.zip
Notes
Diffstat (limited to 'games/wesnoth-devel')
-rw-r--r--games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper18
1 files changed, 9 insertions, 9 deletions
diff --git a/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper b/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
index 8c96582be9ed..91b9d3bc7e5f 100644
--- a/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
+++ b/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
@@ -1,29 +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 @@
+--- 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);
--#ifdef __APPLE__
+-#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)
-@@ -587,7 +587,7 @@
+@@ -631,7 +631,7 @@
std::string res;
for(;itor != utf8_iterator::end(s); ++itor) {
--#ifdef __APPLE__
+-#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)
-@@ -610,7 +610,7 @@
+@@ -654,7 +654,7 @@
std::string res;
for(;itor != utf8_iterator::end(s); ++itor) {
--#if defined(__APPLE__) || defined(__OpenBSD__)
-+#if defined(__APPLE__) || defined(__OpenBSD__) || __FreeBSD__ < 5
+-#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)