compat-locales-sap/SOURCES/saplocales-842448-shift-jisx0213.patch
2021-09-09 15:33:17 +00:00

118 lines
4.6 KiB
Diff

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