packages: icu/icu.spec, icu/icu-gcc44.patch (NEW) - fix build on new gcc

tommat tommat at pld-linux.org
Mon Aug 31 12:35:59 CEST 2009


Author: tommat                       Date: Mon Aug 31 10:35:59 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build on new gcc

---- Files affected:
packages/icu:
   icu.spec (1.34 -> 1.35) , icu-gcc44.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/icu/icu.spec
diff -u packages/icu/icu.spec:1.34 packages/icu/icu.spec:1.35
--- packages/icu/icu.spec:1.34	Wed Mar 26 02:43:17 2008
+++ packages/icu/icu.spec	Mon Aug 31 12:35:54 2009
@@ -10,6 +10,7 @@
 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
@@ -77,6 +78,7 @@
 %prep
 %setup -q -n %{name}
 %patch0 -p0
+%patch1 -p1
 
 %build
 cd source
@@ -145,6 +147,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2009/08/31 10:35:54  tommat
+- fix build on new gcc
+
 Revision 1.34  2008/03/26 01:43:17  sls
 - ver. 3.8.1
 - added regexp.patch

================================================================
Index: packages/icu/icu-gcc44.patch
diff -u /dev/null packages/icu/icu-gcc44.patch:1.1
--- /dev/null	Mon Aug 31 12:35:59 2009
+++ packages/icu/icu-gcc44.patch	Mon Aug 31 12:35:54 2009
@@ -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)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/icu/icu.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list