diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-03-12 14:24:49 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-03-12 14:24:49 +0000 |
commit | 0020e4aede12d39290b1ec71160d2c82d006c826 (patch) | |
tree | d34009757bfb98f970f474e7e7fa278787493b6f /Build | |
parent | 17d564c8150295febbac9174757862eaccf9bd89 (diff) |
icu: build fix for FreeBSD, reported by Hilmar Preusse <hille42@web.de>
git-svn-id: svn://tug.org/texlive/trunk@25616 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
3 files changed, 22 insertions, 1 deletions
diff --git a/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog b/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog index b8e715b3474..dbaa1635c53 100644 --- a/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog +++ b/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog @@ -1,3 +1,9 @@ +2012-03-12 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-03-U_PF_UNKNOWN (new): Bug fix for the case that + U_PLATFORM == U_PF_UNKNOWN as, e.g., for FreeBSD (why?). + Reported by Hilmar Preusse <hille42@web.de>. + 2012-03-03 Peter Breitenlohner <peb@mppmu.mpg.de> Imported icu-49.1 source tree (icu4c-49_rc-src.tgz) from: diff --git a/Build/source/libs/icu/icu-49.1-PATCHES/patch-03-U_PF_UNKNOWN b/Build/source/libs/icu/icu-49.1-PATCHES/patch-03-U_PF_UNKNOWN new file mode 100644 index 00000000000..71ad3005a86 --- /dev/null +++ b/Build/source/libs/icu/icu-49.1-PATCHES/patch-03-U_PF_UNKNOWN @@ -0,0 +1,15 @@ + Building ICU on the FreeBSD kernel arch included in Debian. + Reported by Hilmar Preusse <hille42@web.de>. + +diff -ur icu-49.rc.orig/source/tools/toolutil/udbgutil.cpp icu-49.rc/source/tools/toolutil/udbgutil.cpp +--- icu-49.rc.orig/source/tools/toolutil/udbgutil.cpp 2012-03-02 23:12:06.000000000 +0100 ++++ icu-49.rc/source/tools/toolutil/udbgutil.cpp 2012-03-12 14:27:29.000000000 +0100 +@@ -341,7 +341,7 @@ + #if U_PLATFORM_HAS_WIN32_API + return "Windows"; + #elif U_PLATFORM == U_PF_UNKNOWN +- return "unknown" ++ return "unknown"; + #else + return "Other (POSIX-like)"; + #endif diff --git a/Build/source/libs/icu/icu-49.1/tools/toolutil/udbgutil.cpp b/Build/source/libs/icu/icu-49.1/tools/toolutil/udbgutil.cpp index 610f43a8fa8..385a88b137e 100644 --- a/Build/source/libs/icu/icu-49.1/tools/toolutil/udbgutil.cpp +++ b/Build/source/libs/icu/icu-49.1/tools/toolutil/udbgutil.cpp @@ -341,7 +341,7 @@ U_CAPI const char *udbg_getPlatform(void) #if U_PLATFORM_HAS_WIN32_API return "Windows"; #elif U_PLATFORM == U_PF_UNKNOWN - return "unknown" + return "unknown"; #else return "Other (POSIX-like)"; #endif |