aboutsummaryrefslogtreecommitdiff
path: root/extra/webkit2gtk/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-02 12:31:40 +0300
committerCem Keylan <cem@ckyln.com>2020-12-02 12:31:40 +0300
commit4930e4a49df229e3979268920ea03079fa39a77e (patch)
treebf850f0081216b3b13791fcedc776da1edc9e892 /extra/webkit2gtk/build
parent20da9b0409b370f3695abd00504b29b05da3fbf8 (diff)
downloadrepository-4930e4a49df229e3979268920ea03079fa39a77e.tar.gz
webkit2gtk: bump to 2.30.3
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 \