]> git.pld-linux.org Git - packages/icu.git/commitdiff
- fix build on new gcc
authortommat <tommat@pld-linux.org>
Mon, 31 Aug 2009 10:35:54 +0000 (10:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    icu-gcc44.patch -> 1.1
    icu.spec -> 1.35

icu-gcc44.patch [new file with mode: 0644]
icu.spec

diff --git a/icu-gcc44.patch b/icu-gcc44.patch
new file mode 100644 (file)
index 0000000..bca038a
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nur icu-orig/source/layoutex/ParagraphLayout.cpp icu/source/layoutex/ParagraphLayout.cpp
+--- icu-orig/source/layoutex/ParagraphLayout.cpp       2007-12-12 19:58:04.000000000 +0100
++++ icu/source/layoutex/ParagraphLayout.cpp    2009-08-31 12:21:04.000000000 +0200
+@@ -813,7 +813,7 @@
+     return nullLanguageCode;
+ }
+-#elif
++#else
+ // TODO - dummy implementation for right now...
+ le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)
index 849bc72b43a4d573af32e424e2b3f58511e024e6..4e1c12a478aa88a577bfb13dad69dde25787d215 100644 (file)
--- a/icu.spec
+++ b/icu.spec
@@ -9,6 +9,7 @@ Group:          Libraries
 Source0:       http://download.icu-project.org/files/icu4c/%{version}/icu4c-%{ver}-src.tgz
 # Source0-md5: a827dbc9d909febd4ec39b90386868ba
 Patch0:                %{name}-regexp.patch
+Patch1:                %{name}-gcc44.patch
 URL:           http://www.icu-project.org/
 BuildRequires: automake
 BuildRequires: libstdc++-devel
@@ -76,6 +77,7 @@ programistyczne ICU.
 %prep
 %setup -q -n %{name}
 %patch0 -p0
+%patch1 -p1
 
 %build
 cd source
This page took 0.115295 seconds and 4 git commands to generate.