ports/139652: [devel/icu] Little patch for compiling with gcc44

Olivier Cochard-Labbé olivier at cochard.me
Thu Oct 15 19:40:01 UTC 2009


>Number:         139652
>Category:       ports
>Synopsis:       [devel/icu] Little patch for compiling with gcc44
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 15 19:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbé
>Release:        8.0 amd64
>Organization:
>Environment:
FreeBSD d630.bsdrp.net 8.0-RC1 FreeBSD 8.0-RC1 #47: Sat Oct  3 16:07:24 CEST 2009     root at d630.bsdrp.net:/usr/obj/usr/src/sys/DellD630  amd64
>Description:
Here is a little patch that permit to compile devel/icu with gcc44.
>How-To-Repeat:
Installing lang/gcc44 and adding theses line in /etc/make.conf:

CC=gcc44
CXX=g++44
CPP=cpp44

Then try to compil devel/icu: It refuse to compil.
>Fix:
Using the patch file included.

Patch attached with submission follows:

--- work/icu/source/layoutex/ParagraphLayout.bak	2009-10-15 21:21:15.000000000 +0200
+++ work/icu/source/layoutex/ParagraphLayout.cpp	2009-10-15 21:22:44.000000000 +0200
@@ -813,7 +813,7 @@
 
     return nullLanguageCode;
 }
-#elif
+#else
 
 // TODO - dummy implementation for right now...
 le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list