aboutsummaryrefslogtreecommitdiffstats
path: root/games/wesnoth
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2006-12-25 05:36:22 +0800
committerphilip <philip@FreeBSD.org>2006-12-25 05:36:22 +0800
commitf5ba3c9a1ac34ca022a10fb059992fe77ccae0e1 (patch)
tree6babd335a07e39c66b4061bacc9d96f017f1e83c /games/wesnoth
parente88173109a2428563905d72feb04f73088aa89df (diff)
downloadfreebsd-ports-graphics-f5ba3c9a1ac34ca022a10fb059992fe77ccae0e1.tar.gz
freebsd-ports-graphics-f5ba3c9a1ac34ca022a10fb059992fe77ccae0e1.tar.zst
freebsd-ports-graphics-f5ba3c9a1ac34ca022a10fb059992fe77ccae0e1.zip
Update FreeBSD 4.x build patch I forgot in my last commit.
Pointy hat to: philip
Diffstat (limited to 'games/wesnoth')
-rw-r--r--games/wesnoth/files/patch-fix_freebsd4_build_towupper18
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 8c96582be9e..91b9d3bc7e5 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)