Commit 74d12c29 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Patched to compile with new icu4c

parent 6315d8c2
diff -uNr qtwebkit-5.212.0-alpha4/Source/WebCore/platform/text/icu/UTextProvider.h qtwebkit-5.212.0-alpha4-fix_icu/Source/WebCore/platform/text/icu/UTextProvider.h
--- qtwebkit-5.212.0-alpha4/Source/WebCore/platform/text/icu/UTextProvider.h 2020-03-05 03:46:37.000000000 +1030
+++ qtwebkit-5.212.0-alpha4-fix_icu/Source/WebCore/platform/text/icu/UTextProvider.h 2025-11-03 04:48:19.414928101 +1030
+++ qtwebkit-5.212.0-alpha4-fix_icu/Source/WebCore/platform/text/icu/UTextProvider.h 2025-11-03 07:42:49.312906452 +1030
@@ -28,6 +28,13 @@
#include <unicode/utext.h>
......@@ -15,3 +15,20 @@ diff -uNr qtwebkit-5.212.0-alpha4/Source/WebCore/platform/text/icu/UTextProvider
namespace WebCore {
enum class UTextProviderContext {
diff -uNr qtwebkit-5.212.0-alpha4/Source/WebCore/platform/text/TextCodecICU.cpp qtwebkit-5.212.0-alpha4-fix_icu/Source/WebCore/platform/text/TextCodecICU.cpp
--- qtwebkit-5.212.0-alpha4/Source/WebCore/platform/text/TextCodecICU.cpp 2020-03-05 03:46:37.000000000 +1030
+++ qtwebkit-5.212.0-alpha4-fix_icu/Source/WebCore/platform/text/TextCodecICU.cpp 2025-11-03 07:45:41.543487520 +1030
@@ -39,6 +39,13 @@
#include <wtf/text/StringBuilder.h>
#include <wtf/unicode/CharacterNames.h>
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+
namespace WebCore {
const size_t ConversionBufferSize = 16384;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment