summaryrefslogtreecommitdiffstats
path: root/libraries/webkit2gtk4.1/unhide-deprecated-api.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/webkit2gtk4.1/unhide-deprecated-api.patch')
-rw-r--r--libraries/webkit2gtk4.1/unhide-deprecated-api.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/webkit2gtk4.1/unhide-deprecated-api.patch b/libraries/webkit2gtk4.1/unhide-deprecated-api.patch
new file mode 100644
index 0000000000..1133632b2d
--- /dev/null
+++ b/libraries/webkit2gtk4.1/unhide-deprecated-api.patch
@@ -0,0 +1,12 @@
+diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
+index 6fa104c82992..8c8640c3dee7 100644
+--- a/Source/WTF/wtf/Platform.h
++++ b/Source/WTF/wtf/Platform.h
+@@ -113,7 +113,6 @@
+
+ /* FIXME: This does not belong in Platform.h and should instead be included in another mechanism (compiler option, prefix header, config.h, etc) */
+ /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */
+-#define U_HIDE_DEPRECATED_API 1
+ #define U_SHOW_CPLUSPLUS_API 0
+ #ifdef __cplusplus
+ #define UCHAR_TYPE char16_t