ports/142410: [PATCH] devel/icu fix compile with newer gcc from ports
Rob Farmer
rfarmer at predatorlabs.net
Thu Jan 7 06:40:02 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list