File icu-CVE-2025-5222-shim01.patch of Package icu
--- a/source/tools/genrb/parse.cpp
+++ b/source/tools/genrb/parse.cpp
@@ -30,9 +30,11 @@
#include "reslist.h"
#include "rbt_pars.h"
#include "genrb.h"
+#include "unicode/stringpiece.h"
#include "unicode/ustring.h"
#include "unicode/uscript.h"
#include "unicode/putil.h"
+#include "charstr.h"
#include <stdio.h>
/* Number of tokens to read ahead of the current stream position */
@@ -51,6 +53,9 @@
#define OPENSQBRACKET 0x005B
#define CLOSESQBRACKET 0x005D
+using icu::CharString;
+using icu::StringPiece;
+
struct Lookahead
{
enum ETokenType type;