From f9cd8139918ebf34fbd78fea5df498e7c615d015 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 18 Mar 2008 10:25:12 +0000 Subject: [PATCH] Resolves: rhbz#437761 worst case expansions --- icu.icu6213.bengali.worstcase.patch | 11 ----------- icu.icu6213.worstcase.patch | 27 +++++++++++++++++++++++++++ icu.spec | 8 +++++++- 3 files changed, 34 insertions(+), 12 deletions(-) delete mode 100644 icu.icu6213.bengali.worstcase.patch create mode 100644 icu.icu6213.worstcase.patch diff --git a/icu.icu6213.bengali.worstcase.patch b/icu.icu6213.bengali.worstcase.patch deleted file mode 100644 index 36c1e60..0000000 --- a/icu.icu6213.bengali.worstcase.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- icu.orig/source/layout/IndicClassTables.cpp 2008-03-17 18:45:59.000000000 +0000 -+++ icu/source/layout/IndicClassTables.cpp 2008-03-17 18:46:08.000000000 +0000 -@@ -269,7 +269,7 @@ - // - static const IndicClassTable devaClassTable = {0x0900, 0x0970, 2, DEVA_SCRIPT_FLAGS, devaCharClasses, NULL}; - --static const IndicClassTable bengClassTable = {0x0980, 0x09FA, 3, BENG_SCRIPT_FLAGS, bengCharClasses, bengSplitTable}; -+static const IndicClassTable bengClassTable = {0x0980, 0x09FA, 4, BENG_SCRIPT_FLAGS, bengCharClasses, bengSplitTable}; - - static const IndicClassTable punjClassTable = {0x0A00, 0x0A74, 2, PUNJ_SCRIPT_FLAGS, punjCharClasses, NULL}; - diff --git a/icu.icu6213.worstcase.patch b/icu.icu6213.worstcase.patch new file mode 100644 index 0000000..b03f3de --- /dev/null +++ b/icu.icu6213.worstcase.patch @@ -0,0 +1,27 @@ +--- icu/source/layout/IndicClassTables.cpp.icu5418.malayam.patch 2007-12-12 18:58:06.000000000 +0000 ++++ icu/source/layout/IndicClassTables.cpp 2008-03-18 10:10:51.000000000 +0000 +@@ -255,7 +269,7 @@ + // + static const IndicClassTable devaClassTable = {0x0900, 0x0970, 2, DEVA_SCRIPT_FLAGS, devaCharClasses, NULL}; + +-static const IndicClassTable bengClassTable = {0x0980, 0x09FA, 3, BENG_SCRIPT_FLAGS, bengCharClasses, bengSplitTable}; ++static const IndicClassTable bengClassTable = {0x0980, 0x09FA, 4, BENG_SCRIPT_FLAGS, bengCharClasses, bengSplitTable}; + + static const IndicClassTable punjClassTable = {0x0A00, 0x0A74, 2, PUNJ_SCRIPT_FLAGS, punjCharClasses, NULL}; + +@@ -263,13 +277,13 @@ + + static const IndicClassTable oryaClassTable = {0x0B00, 0x0B71, 3, ORYA_SCRIPT_FLAGS, oryaCharClasses, oryaSplitTable}; + +-static const IndicClassTable tamlClassTable = {0x0B80, 0x0BF2, 3, TAML_SCRIPT_FLAGS, tamlCharClasses, tamlSplitTable}; ++static const IndicClassTable tamlClassTable = {0x0B80, 0x0BF2, 4, TAML_SCRIPT_FLAGS, tamlCharClasses, tamlSplitTable}; + + static const IndicClassTable teluClassTable = {0x0C00, 0x0C6F, 3, TELU_SCRIPT_FLAGS, teluCharClasses, teluSplitTable}; + + static const IndicClassTable kndaClassTable = {0x0C80, 0x0CEF, 4, KNDA_SCRIPT_FLAGS, kndaCharClasses, kndaSplitTable}; + +-static const IndicClassTable mlymClassTable = {0x0D00, 0x0D6F, 3, MLYM_SCRIPT_FLAGS, mlymCharClasses, mlymSplitTable}; ++static const IndicClassTable mlymClassTable = {0x0D00, 0x0D6F, 4, MLYM_SCRIPT_FLAGS, mlymCharClasses, mlymSplitTable}; + + static const IndicClassTable sinhClassTable = {0x0D80, 0x0DF4, 4, SINH_SCRIPT_FLAGS, sinhCharClasses, sinhSplitTable}; + diff --git a/icu.spec b/icu.spec index 577665c..865a991 100644 --- a/icu.spec +++ b/icu.spec @@ -1,6 +1,6 @@ Name: icu Version: 3.8.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: International Components for Unicode Group: Development/Tools License: MIT @@ -20,6 +20,7 @@ Patch8: icu.icuXXXX.malayalam.bysyllable.patch Patch9: icu.icu6008.arm.padding.patch Patch10: icu.icu5498.openoffice.org.patch Patch11: icu.regexp.patch +Patch12: icu.icu6213.worstcase.patch %description Tools and utilities for developing with icu. @@ -68,6 +69,7 @@ Group: Documentation %patch9 -p1 -b .icu6008.arm.padding.patch %patch10 -p1 -b .icu5498.openoffice.org.patch %patch11 -p0 -b .regexp.patch +%patch12 -p0 -b .icu6213.worstcase.patch %build cd source @@ -145,6 +147,10 @@ rm -rf $RPM_BUILD_ROOT %doc source/__docs/%{name}/html/* %changelog +* Tue Mar 18 2008 Caolan McNamara - 3.8.1-7 +- Resolves: rhbz#437761 modify to icu.icu6213.worstcase.patch for + other worst case expansions + * Mon Mar 17 2008 Caolan McNamara - 3.8.1-6 - Resolves: rhbz#437761 add icu.icu6213.bengali.worstcase.patch