From 852808d4c1e20004ae5e2319889e2766401173c1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 19 Apr 2019 18:27:38 -0700 Subject: webkitgtk: Fix build with clang Newer version of webkitgtk has some compile failures with clang/libc++ combination. (From OE-Core rev: f1741a8209e56cdf51223678239a680d8788f71f) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-sato/webkit/webkitgtk/narrowing.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/narrowing.patch (limited to 'meta/recipes-sato/webkit/webkitgtk/narrowing.patch') diff --git a/meta/recipes-sato/webkit/webkitgtk/narrowing.patch b/meta/recipes-sato/webkit/webkitgtk/narrowing.patch new file mode 100644 index 0000000000..598b6b5df5 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/narrowing.patch @@ -0,0 +1,31 @@ +Fix build with clang on arm where char is unsigned + +Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=197087] +Signed-off-by: Khem Raj + +--- a/Source/WebCore/contentextensions/DFACombiner.cpp ++++ b/Source/WebCore/contentextensions/DFACombiner.cpp +@@ -37,7 +37,7 @@ namespace WebCore { + namespace ContentExtensions { + + class DFAMerger { +- typedef MutableRangeList CombinedTransitionsMutableRangeList; ++ typedef MutableRangeList CombinedTransitionsMutableRangeList; + + enum class WhichDFA { + A, +--- a/Source/WebCore/contentextensions/NFAToDFA.cpp ++++ b/Source/WebCore/contentextensions/NFAToDFA.cpp +@@ -41,9 +41,9 @@ namespace WebCore { + + namespace ContentExtensions { + +-typedef MutableRange NFANodeRange; +-typedef MutableRangeList NFANodeRangeList; +-typedef MutableRangeList PreallocatedNFANodeRangeList; ++typedef MutableRange NFANodeRange; ++typedef MutableRangeList NFANodeRangeList; ++typedef MutableRangeList PreallocatedNFANodeRangeList; + typedef Vector UniqueNodeList; + typedef Vector NFANodeClosures; + -- cgit v1.2.3-54-g00ecf