Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2009 19:34:28 GMT
From:      Olivier Cochard-Labbé <olivier@cochard.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139652: [devel/icu] Little patch for compiling with gcc44
Message-ID:  <200910151934.n9FJYSEN038788@www.freebsd.org>
Resent-Message-ID: <200910151940.n9FJe15g021488@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910151934.n9FJYSEN038788>