summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk/narrowing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/narrowing.patch')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/narrowing.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/narrowing.patch b/meta/recipes-sato/webkit/webkitgtk/narrowing.patch
deleted file mode 100644
index 598b6b5df5..0000000000
--- a/meta/recipes-sato/webkit/webkitgtk/narrowing.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1Fix build with clang on arm where char is unsigned
2
3Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=197087]
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6--- a/Source/WebCore/contentextensions/DFACombiner.cpp
7+++ b/Source/WebCore/contentextensions/DFACombiner.cpp
8@@ -37,7 +37,7 @@ namespace WebCore {
9 namespace ContentExtensions {
10
11 class DFAMerger {
12- typedef MutableRangeList<char, uint64_t, 128> CombinedTransitionsMutableRangeList;
13+ typedef MutableRangeList<signed char, uint64_t, 128> CombinedTransitionsMutableRangeList;
14
15 enum class WhichDFA {
16 A,
17--- a/Source/WebCore/contentextensions/NFAToDFA.cpp
18+++ b/Source/WebCore/contentextensions/NFAToDFA.cpp
19@@ -41,9 +41,9 @@ namespace WebCore {
20
21 namespace ContentExtensions {
22
23-typedef MutableRange<char, NFANodeIndexSet> NFANodeRange;
24-typedef MutableRangeList<char, NFANodeIndexSet> NFANodeRangeList;
25-typedef MutableRangeList<char, NFANodeIndexSet, 128> PreallocatedNFANodeRangeList;
26+typedef MutableRange<signed char, NFANodeIndexSet> NFANodeRange;
27+typedef MutableRangeList<signed char, NFANodeIndexSet> NFANodeRangeList;
28+typedef MutableRangeList<signed char, NFANodeIndexSet, 128> PreallocatedNFANodeRangeList;
29 typedef Vector<uint32_t, 0, ContentExtensionsOverflowHandler> UniqueNodeList;
30 typedef Vector<UniqueNodeList, 0, ContentExtensionsOverflowHandler> NFANodeClosures;
31