fix bare elif for gcc-4.4

This commit is contained in:
Caolan McNamara 2009-02-03 16:32:54 +00:00
parent 865de723b1
commit 59881b4539
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- icu.orig/source/layoutex/ParagraphLayout.cpp 2009-02-03 16:29:07.000000000 +0000
+++ icu/source/layoutex/ParagraphLayout.cpp 2009-02-03 16:29:19.000000000 +0000
@@ -868,7 +868,7 @@
return nullLanguageCode;
}
-#elif
+#else
// TODO - dummy implementation for right now...
le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)

View File

@ -1,6 +1,6 @@
Name: icu
Version: 4.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: International Components for Unicode
Group: Development/Tools
License: MIT
@ -15,6 +15,7 @@ Patch2: icu.icuXXXX.virama.prevnext.patch
Patch3: icu.icu6008.arm.padding.patch
Patch4: icu.icu6213.worstcase.patch
Patch5: icu.icu6284.strictalias.patch
Patch6: icu.icu6439.bare.elif.patch
%description
Tools and utilities for developing with icu.
@ -58,6 +59,7 @@ Group: Documentation
%patch3 -p1 -b .icu6008.arm.padding.patch
%patch4 -p1 -b .icu6213.worstcase.patch
%patch5 -p1 -b .icu6284.strictalias.patch
%patch6 -p1 -b .icu6439.bare.elif.patch
%build
cd source
@ -134,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
%doc source/__docs/%{name}/html/*
%changelog
* Tue Feb 03 2009 Caolan McNamara <caolanm@redhat.com> - 4.0.1-2
- fix bare elif for gcc-4.4
* Fri Jan 16 2009 Caolan McNamara <caolanm@redhat.com> - 4.0.1-1
- 4.0.1 release