* updated yet more dir-less .cache DEPs
[t2sde.git] / package / develop / icu4c / hotfix-endianess.diff
blobb35378d8463c2bb9e7301634a21ba15648066080
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/icu4c/hotfix-endianess.diff
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- source/tools/pkgdata/pkgdata.cpp 2023-12-09 03:30:05.000000000 +0100
15 +++ source/tools/pkgdata/pkgdata.cpp 2024-02-21 21:50:02.713084994 +0100
16 @@ -615,7 +615,7 @@
17 if(o->verbose) {
18 fprintf(stdout, "# Writing package file %s ..\n", datFileNamePath);
20 - result = writePackageDatFile(datFileNamePath, o->comment, o->srcDir, o->fileListFiles->str, nullptr, U_CHARSET_FAMILY ? 'e' : U_IS_BIG_ENDIAN ? 'b' : 'l');
21 + result = writePackageDatFile(datFileNamePath, o->comment, o->srcDir, o->fileListFiles->str, nullptr, U_CHARSET_FAMILY ? 'e' : U_IS_BIG_ENDIAN ? 'l' : 'b');
22 if (result != 0) {
23 fprintf(stderr,"Error writing package dat file.\n");
24 return result;
25 --- source/tools/toolutil/pkg_genc.cpp 2023-12-09 03:30:05.000000000 +0100
26 +++ source/tools/toolutil/pkg_genc.cpp 2024-02-21 21:40:48.414138403 +0100
27 @@ -620,6 +621,8 @@
28 column=1;
31 + bitField = __builtin_bswap32(bitField);
33 if (bitField < 10) {
34 /* It's a small number. Don't waste the space for 0x */
35 *(s++)=hexToStr[bitField];
36 Only in icu-release-74-2.fixed/icu4c/source/tools/tzcode: Makefile