From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 29 12:50:01 2008 Return-Path: Delivered-To: freebsd-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 9105116A417 for ; Tue, 29 Jan 2008 12:50:01 +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 6FCBF13C45B for ; Tue, 29 Jan 2008 12:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0TCo14L044427 for ; Tue, 29 Jan 2008 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0TCo1UF044426; Tue, 29 Jan 2008 12:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 29 Jan 2008 12:50:01 GMT Resent-Message-Id: <200801291250.m0TCo1UF044426@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simun Mikecin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBEEB16A420 for ; Tue, 29 Jan 2008 12:45:10 +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 BAE0513C4CC for ; Tue, 29 Jan 2008 12:45:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0TChOmq077384 for ; Tue, 29 Jan 2008 12:43:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m0TChODp077383; Tue, 29 Jan 2008 12:43:24 GMT (envelope-from nobody) Message-Id: <200801291243.m0TChODp077383@www.freebsd.org> Date: Tue, 29 Jan 2008 12:43:24 GMT From: Simun Mikecin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/120113: [patch] Croatian locale support for hr_HR.ISO8859-2 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2008 12:50:01 -0000 >Number: 120113 >Category: conf >Synopsis: [patch] Croatian locale support for hr_HR.ISO8859-2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 29 12:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Simun Mikecin >Release: 7.0-RC1 amd64 >Organization: >Environment: FreeBSD xxx 7.0-RC1 FreeBSD 7.0-RC1 #0: Tue Jan 22 14:58:57 CET 2008 root@xxx:/usr/obj/usr/src.7.0/sys/XXX amd64 >Description: This is a patch that adds support for the Croatian locale support. Without this patch /usr/share/locale/hr_HR.ISO8859-2/LC_COLLATE is a link to the ../la_LN.ISO8859-2/LC_COLLATE. It means that there is no support for Croatian locale. P.S. I hope this gets commited to the RELENG_7_0 branch before release... >How-To-Repeat: Try with a simple C program by using setlocale(3) and strcoll(3). >Fix: Patch attached with submission follows: diff -urN /usr/src.7.0/.zfs/snapshot/orig/share/colldef/Makefile /usr/src.7.0/share/colldef/Makefile --- /usr/src.7.0/.zfs/snapshot/orig/share/colldef/Makefile 2006-11-09 19:10:33.000000000 +0100 +++ /usr/src.7.0/share/colldef/Makefile 2008-01-29 13:42:05.676646799 +0100 @@ -14,6 +14,7 @@ es_ES.ISO8859-15 \ et_EE.ISO8859-15 \ hi_IN.ISCII-DEV \ + hr_HR.ISO8859-2 \ hy_AM.ARMSCII-8 \ is_IS.ISO8859-1 \ is_IS.ISO8859-15 \ @@ -68,7 +69,7 @@ nn_NO no_NO pt_PT ISO8859-15_ISO8859-15= de_DE:de_AT de_DE:de_CH ${LATIN1LINKS:C/^/la_LN:/} -LATIN2LINKS= hr_HR hu_HU ro_RO sr_YU +LATIN2LINKS= hu_HU ro_RO sr_YU ISO8859-2_ISO8859-2= ${LATIN2LINKS:C/^/la_LN:/} cs_CZ:sk_SK US-ASCII_Big5HKSCS= la_LN:zh_HK diff -urN /usr/src.7.0/.zfs/snapshot/orig/share/colldef/hr_HR.ISO8859-2.src /usr/src.7.0/share/colldef/hr_HR.ISO8859-2.src --- /usr/src.7.0/.zfs/snapshot/orig/share/colldef/hr_HR.ISO8859-2.src 1970-01-01 01:00:00.000000000 +0100 +++ /usr/src.7.0/share/colldef/hr_HR.ISO8859-2.src 2008-01-29 12:07:27.350025032 +0100 @@ -0,0 +1,39 @@ +# +# Croatian collation sequence +# 2007-01-29 numisemis at yahoo dot com +# +# $FreeBSD$ +# + +charmap map.ISO8859-2 +order \ +# controls + ;...;;;...;;\ +# + ;;!;\";;\ + ;;\ + %;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\ +# digits + 0;...;9;\ +# + :;\;;\<;=;>;?;;;\ +# capital + (A,,>,,,);\ + B;(C,);;;(D,);;(E,,,,);\ + F;G;H;(I,,>);\ + J;K;(L,,,);M;(N,,);(O,,>,,);\ + P;Q;(R,,);(S,,);;(T,,);\ + (U,,,,);\ + V;W;X;(Y,);(Z,,);;\ +# + [;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\ +# small + (a,,>,,,);\ + b;(c,);;;(d,);;(e,,,,);\ + f;g;h;(i,,>);\ + j;k;(l,,,);m;(n,,);(o,,>,,);\ + p;q;(r,,);(s,,,);;(t,,);\ + (u,,,,);\ + v;w;x;(y,);(z,,);;\ +# + \{;|;\};~;;
>Release-Note: >Audit-Trail: >Unformatted: