From owner-freebsd-ports-bugs@FreeBSD.ORG  Thu Jan  7 06:40:02 2010
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
Delivered-To: freebsd-ports-bugs@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 885251065696
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Thu,  7 Jan 2010 06:40:02 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 4A8498FC16
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Thu,  7 Jan 2010 06:40:02 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o076e2Ue001731
	for <freebsd-ports-bugs@freefall.freebsd.org>;
	Thu, 7 Jan 2010 06:40:02 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o076e2hw001730;
	Thu, 7 Jan 2010 06:40:02 GMT (envelope-from gnats)
Resent-Date: Thu, 7 Jan 2010 06:40:02 GMT
Resent-Message-Id: <201001070640.o076e2hw001730@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
	Rob Farmer <rfarmer@predatorlabs.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AA66F1065672
	for <freebsd-gnats-submit@FreeBSD.org>;
	Thu,  7 Jan 2010 06:31:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 9885C8FC19
	for <freebsd-gnats-submit@FreeBSD.org>;
	Thu,  7 Jan 2010 06:31:15 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o076VFjY081944
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 7 Jan 2010 06:31:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o076VFVi081943;
	Thu, 7 Jan 2010 06:31:15 GMT (envelope-from nobody)
Message-Id: <201001070631.o076VFVi081943@www.freebsd.org>
Date: Thu, 7 Jan 2010 06:31:15 GMT
From: Rob Farmer <rfarmer@predatorlabs.net>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Cc: 
Subject: ports/142410: [PATCH] devel/icu fix compile with newer gcc from
	ports
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Jan 2010 06:40:02 -0000


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