From f5ba3c9a1ac34ca022a10fb059992fe77ccae0e1 Mon Sep 17 00:00:00 2001 From: philip Date: Sun, 24 Dec 2006 21:36:22 +0000 Subject: Update FreeBSD 4.x build patch I forgot in my last commit. Pointy hat to: philip --- games/wesnoth/files/patch-fix_freebsd4_build_towupper | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'games/wesnoth') 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) -- cgit