Index: x/lib/webkitgtk.xml
===================================================================
--- x/lib/webkitgtk.xml (revision 6cfc1326747eea8ddd9925399f4552202bf12262)
+++ x/lib/webkitgtk.xml (revision ac4aa90b768b507b4ebd8fad6e89f89ec1968f0b)
@@ -129,9 +129,7 @@
WebKitGTK+
- First, temporarily change an ICU header to allow backward
- compatibility. As the root user:
-
-sed -e '/^#ifdef U_DEFINE/i #define U_DEFINE_FALSE_AND_TRUE 1' \
- -i /usr/include/unicode/umachine.h
+ First, ensure backward compatibility with the latest version of icu:
+
+echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' >> Source/WTF/wtf/CMakeLists.txt
@@ -199,12 +197,4 @@
install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
/usr/share/gtk-doc/html/webkitdomgtk-4.0
-
-
- Now revert the change we made above. Again as the
- root user:
-
-
-sed -i '/^#define U_DEFINE/d' /usr/include/unicode/umachine.h
-