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

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