openjdk-23: use OpenJDK 23 as the boot JDK
[oi-userland.git] / components / library / icu-72 / patches / 205-maint-72-ICU-22270_expose_uproperty_values_in_icuexportdata.patch
blobdb9aa2445481b7502d8ff4144938f6fffb3f1f4f
1 https://github.com/unicode-org/icu/commit/6046af063ddd7ed9cbab601a3c6304ad9070545d
3 --- icu/source/tools/icuexportdata/icuexportdata.cpp.orig
4 +++ icu/source/tools/icuexportdata/icuexportdata.cpp
5 @@ -164,6 +164,7 @@
6 fputs("[[binary_property]]\n", f);
7 fprintf(f, "long_name = \"%s\"\n", fullPropName);
8 if (shortPropName) fprintf(f, "short_name = \"%s\"\n", shortPropName);
9 + fprintf(f, "uproperty_discr = %X\n", uproperty);
10 dumpPropertyAliases(uproperty, f);
11 usrc_writeUnicodeSet(f, uset, UPRV_TARGET_SYNTAX_TOML);
13 @@ -216,6 +217,7 @@
14 fputs("[[enum_property]]\n", f);
15 fprintf(f, "long_name = \"%s\"\n", fullPropName);
16 if (shortPropName) fprintf(f, "short_name = \"%s\"\n", shortPropName);
17 + fprintf(f, "uproperty_discr = 0x%X\n", uproperty);
18 dumpPropertyAliases(uproperty, f);
20 int32_t minValue = u_getIntPropertyMinValue(uproperty);
21 @@ -268,6 +270,7 @@
22 const char* shortPropName = u_getPropertyName(uproperty, U_SHORT_PROPERTY_NAME);
23 fprintf(f, "long_name = \"%s\"\n", fullPropName);
24 if (shortPropName) fprintf(f, "short_name = \"%s\"\n", shortPropName);
25 + fprintf(f, "uproperty_discr = 0x%X\n", uproperty);
26 dumpPropertyAliases(uproperty, f);
29 @@ -303,6 +306,7 @@
30 const char* scxShortPropName = u_getPropertyName(UCHAR_SCRIPT_EXTENSIONS, U_SHORT_PROPERTY_NAME);
31 fprintf(f, "long_name = \"%s\"\n", scxFullPropName);
32 if (scxShortPropName) fprintf(f, "short_name = \"%s\"\n", scxShortPropName);
33 + fprintf(f, "uproperty_discr = 0x%X\n", UCHAR_SCRIPT_EXTENSIONS);
34 dumpPropertyAliases(UCHAR_SCRIPT_EXTENSIONS, f);
36 // We want to use 16 bits for our exported trie of sc/scx data because we