Commit 6315d8c2 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Patched to compile with new icu4c

parent 314e6643
......@@ -8,6 +8,7 @@ all:
tar xf qtwebkit-5.212.0-alpha4.tar.xz
patch -Np1 -d qtwebkit-5.212.0-alpha4 < qtwebkit-5.212.0-alpha4-fix_python3.patch
patch -Np1 -d qtwebkit-5.212.0-alpha4 < qtwebkit-5.212.0-alpha4-fix_icu.patch
mkdir qtwebkit-5.212.0-alpha4/build
cd qtwebkit-5.212.0-alpha4/build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DPORT=Qt -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DENABLE_WEBGL=OFF -DENABLE_WEBGPU=OFF -DENABLE_MEDIA_SOURCE=OFF -DENABLE_MEDIA_STREAM=OFF -DENABLE_DEVICE_ORIENTATION=OFF -DENABLE_GEOLOCATION=OFF -DENABLE_FULLSCREEN_API=OFF -DENABLE_QT_GESTURE_EVENTS=OFF -DENABLE_TOUCH_EVENTS=OFF -DENABLE_GAMEPAD_DEPRECATED=OFF -DENABLE_INSPECTOR_UI=OFF -DENABLE_SPELLCHECK=OFF -DENABLE_ACCELERATED_2D_CANVAS=OFF -DENABLE_DATABASE_PROCESS=OFF -DENABLE_INDEXED_DATABASE=OFF -DENABLE_ICONDATABASE=OFF -DENABLE_QT_WEBCHANNEL=OFF -DUSE_QT_MULTIMEDIA=OFF -DUSE_QT_SENSORS=OFF -DUSE_QT_POSITIONING=OFF -DUSE_OPENGL=OFF -DUSE_GSTREAMER=OFF -DUSE_LIBHYPHEN=OFF -DENABLE_API_TESTS=OFF -DENABLE_SAMPLING_PROFILER=OFF -DENABLE_XSLT=OFF -DENABLE_X11_TARGET=OFF -DENABLE_PRINT_SUPPORT=ON -DUSE_LIBJPEG=ON -DUSE_WOFF2=ON -DQt5_DIR=/usr/lib/cmake/Qt5 ..
$(MAKE) -C qtwebkit-5.212.0-alpha4/build
......
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
@@ -28,6 +28,13 @@
#include <unicode/utext.h>
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+
namespace WebCore {
enum class UTextProviderContext {
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