aboutsummaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-efl/webkit/webkit-efl/0001-ewk-include-Element.h-for-hasTagName-function.patch
blob: 153097b0e16399788c9bdb2e940c90656f3a3556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
From a5a5eeb10b56ad1f98899a02281ea825e3cd1202 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 1 Jun 2013 19:23:54 +0200
Subject: [PATCH] ewk: include Element.h for hasTagName function

* ewebkit build fails like gtk in http://trac.webkit.org/changeset/72745
  | ../../../lib/libwebcore_efl.so.0.1.0: undefined reference to `WebCore::Node::hasTagName(WebCore::QualifiedName const&) const'
  | collect2: error: ld returned 1 exit status
  | make[2]: *** [bin/DumpRenderTree] Error 1
* SDL port has similar issue:
  https://bugs.webkit.org/show_bug.cgi?id=88536

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 Source/WebCore/css/CSSStyleSheet.cpp | 1 +
 Source/WebKit/efl/ewk/ewk_frame.cpp  | 1 +
 Source/WebKit/efl/ewk/ewk_view.cpp   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/Source/WebCore/css/CSSStyleSheet.cpp b/Source/WebCore/css/CSSStyleSheet.cpp
index 00b2d91..1d03c2e 100644
--- a/Source/WebCore/css/CSSStyleSheet.cpp
+++ b/Source/WebCore/css/CSSStyleSheet.cpp
@@ -29,6 +29,7 @@
 #include "CSSStyleRule.h"
 #include "CachedCSSStyleSheet.h"
 #include "Document.h"
+#include "Element.h"
 #include "ExceptionCode.h"
 #include "HTMLNames.h"
 #include "MediaList.h"
diff --git a/Source/WebKit/efl/ewk/ewk_frame.cpp b/Source/WebKit/efl/ewk/ewk_frame.cpp
index fd1ffd2..c86601a 100644
--- a/Source/WebKit/efl/ewk/ewk_frame.cpp
+++ b/Source/WebKit/efl/ewk/ewk_frame.cpp
@@ -32,6 +32,7 @@
 #include "FocusController.h"
 #include "FrameLoaderClientEfl.h"
 #include "FrameView.h"
+#include "Element.h"
 #include "HTMLCollection.h"
 #include "HTMLHeadElement.h"
 #include "HTMLImageElement.h"
diff --git a/Source/WebKit/efl/ewk/ewk_view.cpp b/Source/WebKit/efl/ewk/ewk_view.cpp
index 9798e94..7a5da60 100644
--- a/Source/WebKit/efl/ewk/ewk_view.cpp
+++ b/Source/WebKit/efl/ewk/ewk_view.cpp
@@ -36,6 +36,7 @@
 #include "FocusController.h"
 #include "FrameLoaderClientEfl.h"
 #include "FrameView.h"
+#include "Element.h"
 #include "GraphicsContext.h"
 #include "HTMLElement.h"
 #include "HTMLInputElement.h"
-- 
1.8.2.1