From 562a2477f03801852ce1f0393ad18b13ad58fbd8 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 13 Nov 2007 11:49:20 +0000 Subject: [PATCH] add icu.openoffice.org.patch --- icu.openoffice.org.patch | 18 ++++++++++++++++++ icu.spec | 7 ++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 icu.openoffice.org.patch diff --git a/icu.openoffice.org.patch b/icu.openoffice.org.patch new file mode 100644 index 0000000..18b9793 --- /dev/null +++ b/icu.openoffice.org.patch @@ -0,0 +1,18 @@ +diff -ru icu.orig/source/common/unicode/rbbi.h icu/source/common/unicode/rbbi.h +--- icu.orig/source/common/unicode/rbbi.h 2007-11-13 11:45:19.000000000 +0000 ++++ icu/source/common/unicode/rbbi.h 2007-11-13 11:46:05.000000000 +0000 +@@ -611,12 +611,14 @@ + virtual int32_t getBreakType() const; + #endif + ++public: + /** + * Set the type of the break iterator. + * @internal + */ + virtual void setBreakType(int32_t type); + ++protected: + /** + * Common initialization function, used by constructors and bufferClone. + * (Also used by DictionaryBasedBreakIterator::createBufferClone().) diff --git a/icu.spec b/icu.spec index ea58537..ce8cbf1 100644 --- a/icu.spec +++ b/icu.spec @@ -1,6 +1,6 @@ Name: icu Version: 3.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: International Components for Unicode Group: Development/Tools License: MIT @@ -19,6 +19,7 @@ Patch7: icu.icu5557.safety.patch Patch8: icu.icu5506.multiplevowels.patch Patch9: icu.icuXXXX.malayalam.bysyllable.patch Patch10: icu.icu6008.arm.padding.patch +Patch11: icu.openoffice.org.patch %description Tools and utilities for developing with icu. @@ -66,6 +67,7 @@ Group: Documentation %patch8 -p1 -b .icu5506.multiplevowels.patch %patch9 -p1 -b .icuXXXX.malayalam.bysyllable.patch %patch10 -p1 -b .icu6008.arm.padding.patch +%patch11 -p1 -b .icu.openoffice.org.patch %build cd source @@ -142,6 +144,9 @@ rm -rf $RPM_BUILD_ROOT %doc source/__docs/%{name}/html/* %changelog +* Tue Nov 13 2007 Caolan McNamara - 3.8-3 +- add icu.openoffice.org.patch + * Sat Oct 27 2007 Caolan McNamara - 3.8-2 - add icu.icu6008.arm.padding.patch to fix an arm problem