diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-08-05 12:34:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-06 11:24:27 +0100 |
commit | e05d22f9400cbd4d6cb3e9b54f2039ec9d4469f6 (patch) | |
tree | 7b3cd292a1924a368f71e853e72df75de88c3427 /meta/recipes-sato/webkit | |
parent | 09992cb5a48b958970e256280f642033cd09df25 (diff) | |
download | poky-e05d22f9400cbd4d6cb3e9b54f2039ec9d4469f6.tar.gz |
webkitgtk: Fix compile failures with clang
Backport upstream patch to address build regression with clang
Fixes
webkitgtk-2.24.3/Source/bmalloc/bmalloc/AvailableMemory.cpp:120:31: error: implicit instantiation of undefined template 'std::__1::array<char, 256>'
std::array<char, 256> statmBuffer;
^
(From OE-Core rev: 94a1c0a15e57844feddad5607fb8643f7c956953)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/0001-Unreviewed-fix-build-failure-https-bugs.webkit.org-s.patch | 33 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.24.3.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Unreviewed-fix-build-failure-https-bugs.webkit.org-s.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Unreviewed-fix-build-failure-https-bugs.webkit.org-s.patch new file mode 100644 index 0000000000..e550a0d457 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0001-Unreviewed-fix-build-failure-https-bugs.webkit.org-s.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 4bc241539246f7a17d07357257ab47cb96bc4b69 Mon Sep 17 00:00:00 2001 | ||
2 | From: "ysuzuki@apple.com" <ysuzuki@apple.com> | ||
3 | Date: Thu, 18 Apr 2019 07:30:18 +0000 | ||
4 | Subject: [PATCH] Unreviewed, fix build failure | ||
5 | https://bugs.webkit.org/show_bug.cgi?id=195938 | ||
6 | |||
7 | Including <array>. | ||
8 | |||
9 | * bmalloc/AvailableMemory.cpp: | ||
10 | |||
11 | git-svn-id: http://svn.webkit.org/repository/webkit/trunk@244422 268f45cc-cd09-0410-ab3c-d52691b4dbfc | ||
12 | |||
13 | Upstream-Status: Backport [https://github.com/WebKit/webkit/commit/84c111dc0d83b5acf60706ef49bc2f5e91112471] | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | Source/bmalloc/bmalloc/AvailableMemory.cpp | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/Source/bmalloc/bmalloc/AvailableMemory.cpp b/Source/bmalloc/bmalloc/AvailableMemory.cpp | ||
20 | index 595889fe..b72000d5 100644 | ||
21 | --- a/Source/bmalloc/bmalloc/AvailableMemory.cpp | ||
22 | +++ b/Source/bmalloc/bmalloc/AvailableMemory.cpp | ||
23 | @@ -32,6 +32,7 @@ | ||
24 | #include "PerProcess.h" | ||
25 | #include "Scavenger.h" | ||
26 | #include "Sizes.h" | ||
27 | +#include <array> | ||
28 | #include <mutex> | ||
29 | #if BOS(DARWIN) | ||
30 | #if BPLATFORM(IOS_FAMILY) | ||
31 | -- | ||
32 | 2.22.0 | ||
33 | |||
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.24.3.bb b/meta/recipes-sato/webkit/webkitgtk_2.24.3.bb index 81cbf34198..c42c3de69f 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.24.3.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.24.3.bb | |||
@@ -23,6 +23,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ | |||
23 | file://include_array.patch \ | 23 | file://include_array.patch \ |
24 | file://narrowing.patch \ | 24 | file://narrowing.patch \ |
25 | file://0001-gstreamer-add-a-missing-format-string.patch \ | 25 | file://0001-gstreamer-add-a-missing-format-string.patch \ |
26 | file://0001-Unreviewed-fix-build-failure-https-bugs.webkit.org-s.patch \ | ||
26 | " | 27 | " |
27 | 28 | ||
28 | SRC_URI[md5sum] = "e2a5bbd09a217eba096a2d1562143e35" | 29 | SRC_URI[md5sum] = "e2a5bbd09a217eba096a2d1562143e35" |