From 21fea27309a75b86add08918d2a2a2234ae1f1fb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Apr 2013 17:24:19 +0200 Subject: Make icu's DefaultCharMapper usable on Windows ....see "Re: [Libreoffice-commits] core.git: fix fdo#60534 : use DefaultCharMapper::mapChar() to map RTL string unicodes" for details. Change-Id: Iaac2457643e58b2c5972eb812edb1dd6619437be --- icu/DefaultCharMapper.patch.0 | 22 ++++++++++++++++++++++ icu/UnpackedTarball_icu.mk | 1 + 2 files changed, 23 insertions(+) create mode 100644 icu/DefaultCharMapper.patch.0 (limited to 'icu') diff --git a/icu/DefaultCharMapper.patch.0 b/icu/DefaultCharMapper.patch.0 new file mode 100644 index 000000000000..f56d2d7acf74 --- /dev/null +++ b/icu/DefaultCharMapper.patch.0 @@ -0,0 +1,22 @@ +--- source/layout/DefaultCharMapper.h 2013-03-15 23:16:44.000000000 +0100 ++++ source/layout/DefaultCharMapper.h 2013-04-08 17:18:39.710138077 +0200 +@@ -23,7 +23,7 @@ + * + * @see LECharMapper + */ +-class DefaultCharMapper : public UMemory, public LECharMapper ++class U_LAYOUT_API DefaultCharMapper : public UMemory, public LECharMapper + { + private: + le_bool fFilterControls; +--- source/layout/LEFontInstance.h 2013-03-15 23:16:42.000000000 +0100 ++++ source/layout/LEFontInstance.h 2013-04-08 17:18:40.826139346 +0200 +@@ -25,7 +25,7 @@ + * + * @stable ICU 3.2 + */ +-class LECharMapper /* not : public UObject because this is an interface/mixin class */ ++class U_LAYOUT_API LECharMapper /* not : public UObject because this is an interface/mixin class */ + { + public: + /** diff --git a/icu/UnpackedTarball_icu.mk b/icu/UnpackedTarball_icu.mk index 35c95c498ad2..965c324b8185 100644 --- a/icu/UnpackedTarball_icu.mk +++ b/icu/UnpackedTarball_icu.mk @@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,icu,\ icu/icu4c-mkdir.patch \ icu/icu4c-buffer-overflow.patch \ icu/icu4c-$(if $(filter ANDROID,$(OS)),android,rpath).patch \ + icu/DefaultCharMapper.patch.0 \ )) # vim: set noet sw=4 ts=4: -- cgit