rename patch as upstream name

This commit is contained in:
Caolan McNamara 2007-01-09 14:45:19 +00:00
parent 48cf4defe7
commit cc9265c12f
2 changed files with 17 additions and 3 deletions

14
icu.icu5557.safety.patch Normal file
View File

@ -0,0 +1,14 @@
--- icu.orig/source/layout/CoverageTables.cpp 2007-01-09 12:57:41.000000000 +0000
+++ icu/source/layout/CoverageTables.cpp 2007-01-09 12:59:09.000000000 +0000
@@ -44,6 +44,11 @@
le_uint16 count = SWAPW(glyphCount);
le_uint8 bit = OpenTypeUtilities::highBit(count);
le_uint16 power = 1 << bit;
+
+ if (count == 0) {
+ return -1;
+ }
+
le_uint16 extra = count - power;
le_uint16 probe = power;
le_uint16 index = 0;

View File

@ -21,7 +21,7 @@ Patch8: icu.icu5465.telegu.patch
Patch9: icu.icu5488.assamese.patch Patch9: icu.icu5488.assamese.patch
Patch10: icu.icu5500.devicetablecrash.patch Patch10: icu.icu5500.devicetablecrash.patch
Patch11: icu.icu5501.sinhala.biggerexpand.patch Patch11: icu.icu5501.sinhala.biggerexpand.patch
Patch12: icu.icuXXXX.safety.patch Patch12: icu.icu5557.safety.patch
Patch13: icu.icu5506.multiplevowels.patch Patch13: icu.icu5506.multiplevowels.patch
%description %description
@ -72,7 +72,7 @@ Group: Documentation
%patch9 -p1 -b .icu5488.assamese.patch %patch9 -p1 -b .icu5488.assamese.patch
%patch10 -p1 -b .icu5500.devicetablecrash.patch %patch10 -p1 -b .icu5500.devicetablecrash.patch
%patch11 -p1 -b .icu5501.sinhala.biggerexpand.patch %patch11 -p1 -b .icu5501.sinhala.biggerexpand.patch
%patch12 -p1 -b .icuXXXX.safety.patch %patch12 -p1 -b .icu5557.safety.patch
%patch13 -p1 -b .icu5506.multiplevowels.patch %patch13 -p1 -b .icu5506.multiplevowels.patch
%build %build
@ -155,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Jan 09 2007 Caolan McNamara <caolanm@redhat.com> - 3.6-14 * Thu Jan 09 2007 Caolan McNamara <caolanm@redhat.com> - 3.6-14
- Related: rhbz#216089 add icu.icuXXXX.safety.patch - Related: rhbz#216089 add icu.icu5557.safety.patch
* Thu Dec 21 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-13 * Thu Dec 21 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-13
- Resolves: rhbz#220433 modify icu.icu5431.malayam.patch - Resolves: rhbz#220433 modify icu.icu5431.malayam.patch