diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-04-21 10:10:28 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-21 21:19:39 -0500 |
commit | 8341151524666cd9caaba0392b9140840240032a (patch) | |
tree | 112aae679da70475d61f88c59a135e71eac45452 /libraries | |
parent | 5411b939a46c7af73749ab1912a42f2ef39b165c (diff) |
libraries/webkit2gtk: Patch for icu4c >= 69.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/webkit2gtk/unhide-deprecated-api.patch | 12 | ||||
-rw-r--r-- | libraries/webkit2gtk/webkit2gtk.SlackBuild | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/libraries/webkit2gtk/unhide-deprecated-api.patch b/libraries/webkit2gtk/unhide-deprecated-api.patch new file mode 100644 index 0000000000000..1133632b2d993 --- /dev/null +++ b/libraries/webkit2gtk/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 diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild index 76f9eaa4cf5c9..95bbbcc5019e4 100644 --- a/libraries/webkit2gtk/webkit2gtk.SlackBuild +++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild @@ -70,6 +70,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/unhide-deprecated-api.patch + mkdir -p build cd build cmake -DPORT=GTK \ |