diff options
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/0012-soup-Forward-declare-URL-class.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/0012-soup-Forward-declare-URL-class.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0012-soup-Forward-declare-URL-class.patch b/meta/recipes-sato/webkit/webkitgtk/0012-soup-Forward-declare-URL-class.patch new file mode 100644 index 0000000000..78fd4dc79b --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0012-soup-Forward-declare-URL-class.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 59f6903ad96f3213f248b672d5fd526cc0d666ce Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 20 May 2018 14:28:27 -0700 | ||
4 | Subject: [PATCH] soup: Forward declare URL class | ||
5 | |||
6 | This helps getting away with compiler errors seen with clang | ||
7 | |||
8 | /mnt/a/oe/workspace/sources/webkitgtk/Source/WebCore/platform/network/soup/SoupNetworkSession.h:68:62: | ||
9 | error: unknown type name 'URL' | ||
10 | static std::optional<ResourceError> checkTLSErrors(const URL&, | ||
11 | GTlsCertificate*, GTlsCertificateFlags); | ||
12 | ^ | ||
13 | Upstream-Status: Backport [https://trac.webkit.org/changeset/231876/webkit] | ||
14 | |||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | --- | ||
17 | Source/WebCore/platform/network/soup/SoupNetworkSession.h | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/Source/WebCore/platform/network/soup/SoupNetworkSession.h b/Source/WebCore/platform/network/soup/SoupNetworkSession.h | ||
21 | index 03bd72ba..7ca8792d 100644 | ||
22 | --- a/Source/WebCore/platform/network/soup/SoupNetworkSession.h | ||
23 | +++ b/Source/WebCore/platform/network/soup/SoupNetworkSession.h | ||
24 | @@ -43,6 +43,7 @@ namespace WebCore { | ||
25 | |||
26 | class CertificateInfo; | ||
27 | class ResourceError; | ||
28 | +class URL; | ||
29 | struct SoupNetworkProxySettings; | ||
30 | |||
31 | class SoupNetworkSession { | ||