open-src/lib/libX11/locale-zh_HK.UTF-8.patch
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Tue, 02 Mar 2010 13:31:46 -0800
changeset 919 425233ae7236
parent 688 ec7ff53634c7
child 943 294f64612d23
permissions -rw-r--r--
6931307 Standardize Sun copyright & license notices in X gate on current format

###############################################################################
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#

diff -urp -x '*~' -x '*.orig' nls/zh_HK.UTF-8/XI18N_OBJS nls/zh_HK.UTF-8/XI18N_OBJS
--- nls/zh_HK.UTF-8/XI18N_OBJS	2008-10-07 10:18:18.000000000 -0700
+++ nls/zh_HK.UTF-8/XI18N_OBJS	2009-04-08 00:27:45.159198000 -0700
@@ -3,5 +3,9 @@
 #	XI18N objects table for zh_HK.UTF-8 locale
 #
 XLC	common/xlcUTF8Load	_XlcUtf8Loader	# XLC_open
-XIM	common/ximcp	_XimOpenIM _XimRegisterIMInstantiateCallback  _XimUnRegisterIMInstantiateCallback # XIM_open	XIM_register XIM_unregister
 XOM	common/xomGeneric 	_XomGenericOpenOM	# XOM_open
+XIM	common/xiiimp		_SwitchOpenIM		# XIM_open
+XIM	common/ximcp	_XimOpenIM _XimRegisterIMInstantiateCallback  _XimUnRegisterIMInstantiateCallback # XIM_open	XIM_register XIM_unregister
+XIM	common/xiiimp		_XimpLocalOpenIM	# XIM_open
+XIM	common/ximll		_XimpLocalOpenIM	# XIM_open
+XIM	common/ximlocal		_XimpLocalOpenIM	# XIM_open
diff -urp -x '*~' -x '*.orig' nls/zh_HK.UTF-8/XLC_LOCALE.pre nls/zh_HK.UTF-8/XLC_LOCALE.pre
--- nls/zh_HK.UTF-8/XLC_LOCALE.pre	2008-10-07 10:18:18.000000000 -0700
+++ nls/zh_HK.UTF-8/XLC_LOCALE.pre	2009-04-08 00:27:45.167059000 -0700
@@ -37,10 +37,10 @@ fs1    {
 XCOMM   fs2 class
 fs2    {
        charset {
-               name    BIG5HKSCS-0:GLGR
+               name    BIG5-0:GLGR
        }
        font    {
-               primary BIG5HKSCS-0:GLGR
+               primary BIG5-0:GLGR
                substitute BIG5-0:GLGR
        }
 }
@@ -51,6 +51,7 @@ fs3    {
                name    ISO10646-1
        }
        font    {
+		load_option delay_nocheck
                primary ISO10646-1
        }
 }
@@ -83,7 +84,7 @@ XCOMM  cs2 class
 cs2    {
        side            none
        length          2
-       ct_encoding     BIG5HKSCS-0:GLGR
+       ct_encoding     BIG5-0:GLGR
 }
 
 XCOMM  cs3 class