From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/icu/files: icu-4.8.1-fix_binformat_fonts.patch |
Date: | Mon, 05 Sep 2011 16:51:06 |
Message-Id: | 20110905165052.0ED222004C@flycatcher.gentoo.org |
1 | scarabeus 11/09/05 16:50:52 |
2 | |
3 | Added: icu-4.8.1-fix_binformat_fonts.patch |
4 | Log: |
5 | Revision bump in order to fix font-crash problem in libreoffice. Bug #381327 |
6 | |
7 | (Portage version: 2.2.0_alpha53/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: icu-4.8.1-fix_binformat_fonts.patch |
16 | =================================================================== |
17 | diff -urN icu.old/source/layout/LookupProcessor.cpp icu/source/layout/LookupProcessor.cpp |
18 | --- icu.old/source/layout/LookupProcessor.cpp 2011-09-05 18:35:11.221515458 +0200 |
19 | +++ icu/source/layout/LookupProcessor.cpp 2011-09-05 18:41:30.021510913 +0200 |
20 | @@ -201,7 +201,9 @@ |
21 | |
22 | if (requiredFeatureIndex != 0xFFFF) { |
23 | requiredFeatureTable = featureListTable->getFeatureTable(requiredFeatureIndex, &requiredFeatureTag); |
24 | - featureReferences += SWAPW(featureTable->lookupCount); |
25 | + if (requiredFeatureTable) { |
26 | + featureReferences += SWAPW(requiredFeatureTable->lookupCount); |
27 | + } |
28 | } |
29 | |
30 | lookupOrderArray = LE_NEW_ARRAY(le_uint16, featureReferences); |