[Libreoffice-commits] core.git: icu/DefaultCharMapper.patch.0 icu/UnpackedTarball_icu.mk

Stephan Bergmann sbergman at redhat.com
Mon Apr 8 08:36:00 PDT 2013


 icu/DefaultCharMapper.patch.0 |   22 ++++++++++++++++++++++
 icu/UnpackedTarball_icu.mk    |    1 +
 2 files changed, 23 insertions(+)

New commits:
commit 21fea27309a75b86add08918d2a2a2234ae1f1fb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Apr 8 17:24:19 2013 +0200

    Make icu's DefaultCharMapper usable on Windows
    
    ....see
    <http://lists.freedesktop.org/archives/libreoffice/2013-April/049570.html> "Re:
    [Libreoffice-commits] core.git: fix fdo#60534 : use DefaultCharMapper::mapChar()
    to map RTL string unicodes" for details.
    
    Change-Id: Iaac2457643e58b2c5972eb812edb1dd6619437be

diff --git a/icu/DefaultCharMapper.patch.0 b/icu/DefaultCharMapper.patch.0
new file mode 100644
index 0000000..f56d2d7
--- /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 35c95c4..965c324 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:


More information about the Libreoffice-commits mailing list