aboutsummaryrefslogtreecommitdiff
path: root/extra/webkit2gtk/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/webkit2gtk/build')
-rwxr-xr-xextra/webkit2gtk/build7
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build
index 81edd4e6..b5009ece 100755
--- a/extra/webkit2gtk/build
+++ b/extra/webkit2gtk/build
@@ -22,13 +22,14 @@ sed_i 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c
sed_i '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt
sed_i '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt
-# Fix wayland build.
-sed -i '239,244d' Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp
-
# Fix clang build.
sed -i '/LC_ALL/d' Source/JavaScriptCore/jsc.cpp
sed -i '/WTFLogAlways/d' Source/JavaScriptCore/jsc.cpp
+# Fix the latest icu build.
+printf 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")\n' \
+ >> Source/WTF/wtf/CMakeLists.txt
+
export DESTDIR="$1"
cmake -B build \