1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/icu4c/hotfix-endianess.diff
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
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
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');
23 fprintf(stderr,"Error writing package dat file.\n");
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
31 + bitField = __builtin_bswap32(bitField);
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