summaryrefslogtreecommitdiffstats
path: root/libraries/webkit2gtk4.1/unhide-deprecated-api.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2022-02-02 14:35:17 +0100
committer Willy Sudiarto Raharjo2022-02-02 14:35:17 +0100
commitfe22cf67fecfadcc4479047bca64f2b92df888e8 (patch)
tree442851e206a0aacff9b5f8c9f6e6d8ed699ac496 /libraries/webkit2gtk4.1/unhide-deprecated-api.patch
parent8c7ac41a74df0273b343af290da0ed259d8c843a (diff)
downloadslackbuilds-fe22cf67fecfadcc4479047bca64f2b92df888e8.tar.gz
libraries/webkit2gtk4.1: Added (Web content rendering)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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