Date: Thu, 7 Jan 2010 06:31:15 GMT From: Rob Farmer <rfarmer@predatorlabs.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/142410: [PATCH] devel/icu fix compile with newer gcc from ports Message-ID: <201001070631.o076VFVi081943@www.freebsd.org> Resent-Message-ID: <201001070640.o076e2hw001730@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142410 >Category: ports >Synopsis: [PATCH] devel/icu fix compile with newer gcc from ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jan 07 06:40:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rob Farmer >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD peridot.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r201657: Wed Jan 6 09:49:06 PST 2010 robert@peridot.predatorlabs.net:/usr/obj/usr/src/sys/PERIDOT i386 >Description: Add a patch so ICU can be compiled with newer gcc (lang/gcc44, etc). There is an #elif without a test that is treated as an error, so change it to #else. Doesn't affect building with the base system compiler. Upstream bug report: http://bugs.icu-project.org/trac/ticket/6439 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN icu.old/files/patch-layoutex_ParagraphLayout.cpp icu/files/patch-layoutex_ParagraphLayout.cpp --- icu.old/files/patch-layoutex_ParagraphLayout.cpp 1969-12-31 16:00:00.000000000 -0800 +++ icu/files/patch-layoutex_ParagraphLayout.cpp 2010-01-05 21:45:06.000000000 -0800 @@ -0,0 +1,11 @@ +--- layoutex/ParagraphLayout.cpp.orig 2010-01-05 21:42:34.000000000 -0800 ++++ layoutex/ParagraphLayout.cpp 2010-01-05 21:42:42.000000000 -0800 +@@ -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?201001070631.o076VFVi081943>