Blame SOURCES/saplocales-842448-shift-jisx0213.patch

3c51bf
--- saplocales-2.2.5/Makefile.jisx0213	2012-08-20 20:20:03.000000000 +0900
3c51bf
+++ saplocales-2.2.5/Makefile	2012-08-21 15:25:21.000000000 +0900
3c51bf
@@ -44,6 +44,9 @@ clean:
3c51bf
 	rm -rf $(GEN_MODULES) $(GEN_LOCALES)
3c51bf
 
3c51bf
 
3c51bf
+gconv/SAPSJISX0213.so: SAPSJISX0213.o jisx0213.o
3c51bf
+	$(CC) $(LDFLAGS) -o $@ $^
3c51bf
+
3c51bf
 gconv/%.so: %.o
3c51bf
 	$(CC) $(LDFLAGS) -o $@ $<
3c51bf
 
3c51bf
--- saplocales-2.2.5/SAPSHIFT_JISX0213.jisx0213	2012-08-20 17:06:28.000000000 +0900
3c51bf
+++ saplocales-2.2.5/SAPSHIFT_JISX0213	2012-08-21 18:39:15.000000000 +0900
3c51bf
@@ -1,13 +1,16 @@
3c51bf
-<code_set_name> SHIFT_JISX0213
3c51bf
+<code_set_name> SAPSHIFT_JISX0213
3c51bf
 <comment_char> %
3c51bf
 <escape_char> /
3c51bf
 <mb_cur_min> 1
3c51bf
 <mb_cur_max> 2
3c51bf
 
3c51bf
-% Shift_JISX0213
3c51bf
+% SAP Shift_JISX0213
3c51bf
 % Bruno Haible <bruno@clisp.org>, Gaspar Sinai, 2002
3c51bf
-% Last changed: 2004-07-31
3c51bf
+% Takao Fujiwara <tfujiwar@redhat.com>, 2012
3c51bf
+% Last changed: 2012-08-20
3c51bf
+% Modified glibc SHIFT_JISX0213
3c51bf
 
3c51bf
+% alias SAPSJISX0213
3c51bf
 CHARMAP
3c51bf
 <U0000>     /x00         <control>
3c51bf
 <U0001>     /x01         <control>
3c51bf
@@ -101,7 +104,7 @@ CHARMAP
3c51bf
 <U0059>     /x59         LATIN CAPITAL LETTER Y
3c51bf
 <U005A>     /x5a         LATIN CAPITAL LETTER Z
3c51bf
 <U005B>     /x5b         LEFT SQUARE BRACKET
3c51bf
-<U00A5>     /x5c         YEN SIGN
3c51bf
+<U005C>     /x5c         YEN SIGN
3c51bf
 <U005D>     /x5d         RIGHT SQUARE BRACKET
3c51bf
 <U005E>     /x5e         CIRCUMFLEX ACCENT
3c51bf
 <U005F>     /x5f         LOW LINE
3c51bf
@@ -135,7 +138,7 @@ CHARMAP
3c51bf
 <U007B>     /x7b         LEFT CURLY BRACKET
3c51bf
 <U007C>     /x7c         VERTICAL LINE
3c51bf
 <U007D>     /x7d         RIGHT CURLY BRACKET
3c51bf
-<U203E>     /x7e         OVERLINE
3c51bf
+<U007E>     /x7e         OVERLINE
3c51bf
 <U007F>     /x7f         <control>
3c51bf
 <U3000>     /x81/x40     IDEOGRAPHIC SPACE
3c51bf
 <U3001>     /x81/x41     IDEOGRAPHIC COMMA
3c51bf
@@ -263,7 +266,9 @@ CHARMAP
3c51bf
 <U2282>     /x81/xbc     SUBSET OF
3c51bf
 <U2283>     /x81/xbd     SUPERSET OF
3c51bf
 <U222A>     /x81/xbe     UNION
3c51bf
+<U222A>     /x87/x9c     UNION
3c51bf
 <U2229>     /x81/xbf     INTERSECTION
3c51bf
+<U2229>     /x87/x9b     INTERSECTION
3c51bf
 <U2284>     /x81/xc0     NOT A SUBSET OF
3c51bf
 <U2285>     /x81/xc1     NOT A SUPERSET OF
3c51bf
 <U228A>     /x81/xc2     SUBSET OF WITH NOT EQUAL TO
3c51bf
@@ -290,20 +295,28 @@ CHARMAP
3c51bf
 <U3019>     /x81/xd7     RIGHT WHITE TORTOISE SHELL BRACKET
3c51bf
 <U3016>     /x81/xd8     LEFT WHITE LENTICULAR BRACKET
3c51bf
 <U3017>     /x81/xd9     RIGHT WHITE LENTICULAR BRACKET
3c51bf
+<U2211>     /x87/x94     N-ARY SUMMATION
3c51bf
 <U2220>     /x81/xda     ANGLE
3c51bf
+<U2220>     /x87/x97     ANGLE
3c51bf
 <U22A5>     /x81/xdb     UP TACK
3c51bf
+<U22A5>     /x87/x96     UP TACK
3c51bf
 <U2312>     /x81/xdc     ARC
3c51bf
 <U2202>     /x81/xdd     PARTIAL DIFFERENTIAL
3c51bf
 <U2207>     /x81/xde     NABLA
3c51bf
 <U2261>     /x81/xdf     IDENTICAL TO
3c51bf
+<U2261>     /x87/x91     IDENTICAL TO
3c51bf
 <U2252>     /x81/xe0     APPROXIMATELY EQUAL TO OR THE IMAGE OF
3c51bf
+<U2252>     /x87/x90     APPROXIMATELY EQUAL TO OR THE IMAGE OF
3c51bf
 <U226A>     /x81/xe1     MUCH LESS-THAN
3c51bf
 <U226B>     /x81/xe2     MUCH GREATER-THAN
3c51bf
 <U221A>     /x81/xe3     SQUARE ROOT
3c51bf
+<U221A>     /x87/x95     SQUARE ROOT
3c51bf
 <U223D>     /x81/xe4     REVERSED TILDE
3c51bf
 <U221D>     /x81/xe5     PROPORTIONAL TO
3c51bf
 <U2235>     /x81/xe6     BECAUSE
3c51bf
+<U2235>     /x87/x9a     BECAUSE
3c51bf
 <U222B>     /x81/xe7     INTEGRAL
3c51bf
+<U222B>     /x87/x92     INTEGRAL
3c51bf
 <U222C>     /x81/xe8     DOUBLE INTEGRAL
3c51bf
 <U2262>     /x81/xe9     NOT IDENTICAL TO
3c51bf
 <U2243>     /x81/xea     ASYMPTOTICALLY EQUAL TO
3c51bf
--- saplocales-2.2.5/SAPSJISX0213.c.jisx0213	2012-06-14 08:17:03.000000000 +0900
3c51bf
+++ saplocales-2.2.5/SAPSJISX0213.c	2012-08-21 18:43:21.000000000 +0900
3c51bf
@@ -39,7 +39,7 @@
3c51bf
 #include "jisx0213.h"
3c51bf
 
3c51bf
 /* Definitions used in the body of the `gconv' function.  */
3c51bf
-#define CHARSET_NAME		"SHIFT_JISX0213//"
3c51bf
+#define CHARSET_NAME		"SAPSJISX0213//"
3c51bf
 #define FROM_LOOP		from_shift_jisx0213
3c51bf
 #define TO_LOOP			to_shift_jisx0213
3c51bf
 #define DEFINE_INIT		1
3c51bf
--- saplocales-2.2.5/jisx0213.c.jisx0213	2012-08-21 17:56:39.000000000 +0900
3c51bf
+++ saplocales-2.2.5/jisx0213.c	2012-08-21 18:28:40.000000000 +0900
3c51bf
@@ -322,9 +322,9 @@ const uint16_t __jisx0213_to_ucs_main[12
3c51bf
   0x139d, 0x139e, 0x138e, 0x138f, 0x13c4, 0x13a1, 0x086b, 0x0000,
3c51bf
   0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x137b, 0x101d,
3c51bf
   0x101f, 0x0816, 0x13cd, 0x0821, 0x12a4, 0x12a5, 0x12a6, 0x12a7,
3c51bf
-  0x12a8, 0x1231, 0x1232, 0x1239, 0x137e, 0x137d, 0x137c, 0x0000,
3c51bf
-  0x0000, 0x0000, 0x092e, 0x0000, 0x0000, 0x0000, 0x0000, 0x091f,
3c51bf
-  0x09bf, 0x0000, 0x0000, 0x0000, 0x0e56, 0x0d1e,
3c51bf
+  0x12a8, 0x1231, 0x1232, 0x1239, 0x137e, 0x137d, 0x137c, 0x0952,
3c51bf
+  0x0961, 0x092b, 0x092e, 0x0911, 0x091a, 0x09a5, 0x0920, 0x091f,
3c51bf
+  0x09bf, 0x0935, 0x0929, 0x092a, 0x0e56, 0x0d1e,
3c51bf
   /* 0x12E21..0x12E7E */
3c51bf
   0x2ff1, 0x840b, 0x1402, 0x2e28, 0x2e2f, 0x2e30, 0x2e8d, 0x2ee1,
3c51bf
   0x2efd, 0x2eff, 0x2f03, 0x2f0b, 0x2f60, 0x2f48, 0x2f49, 0x2f56,