diff options
author | Philip Paeps <philip@FreeBSD.org> | 2006-12-24 21:36:22 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2006-12-24 21:36:22 +0000 |
commit | 08d1eadca0eed0a24ac8b9f9a973830749b675d4 (patch) | |
tree | bb3dc51720983affaf22172d9d49ead18d3a75ab /games/wesnoth | |
parent | - cleanup (diff) |
Update FreeBSD 4.x build patch I forgot in my last commit.
Pointy hat to: philip
Notes
Notes:
svn path=/head/; revision=180671
Diffstat (limited to 'games/wesnoth')
-rw-r--r-- | games/wesnoth/files/patch-fix_freebsd4_build_towupper | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/games/wesnoth/files/patch-fix_freebsd4_build_towupper b/games/wesnoth/files/patch-fix_freebsd4_build_towupper index 8c96582be9ed..91b9d3bc7e5f 100644 --- a/games/wesnoth/files/patch-fix_freebsd4_build_towupper +++ b/games/wesnoth/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) |