[oe] [meta-efl][PATCH] webkit-efl: Update patch to fix undefined hasTagName reference

Martin Jansa martin.jansa at gmail.com
Thu Jun 27 16:49:38 UTC 2013


* some builds were still failing to link DumpRenderTree
  and nm revealed that another possible source of this reference is
  CSSStyleSheet:
  ./src/lib/libwebcore_efl.so
   U _ZNK7WebCore4Node10hasTagNameERKNS_13QualifiedNameE
  ./src/Source/WebCore/CMakeFiles/webcore_efl.dir/css/CSSStyleSheet.cpp.o
   U _ZNK7WebCore4Node10hasTagNameERKNS_13QualifiedNameE

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 ...include-Element.h-for-hasTagName-function.patch | 23 ++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0001-ewk-include-Element.h-for-hasTagName-function.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0001-ewk-include-Element.h-for-hasTagName-function.patch
index f553663..153097b 100644
--- a/meta-efl/recipes-efl/webkit/webkit-efl/0001-ewk-include-Element.h-for-hasTagName-function.patch
+++ b/meta-efl/recipes-efl/webkit/webkit-efl/0001-ewk-include-Element.h-for-hasTagName-function.patch
@@ -1,4 +1,4 @@
-From 3de7c4633751c3e55152d4e2429dfcc0f69a1de3 Mon Sep 17 00:00:00 2001
+From a5a5eeb10b56ad1f98899a02281ea825e3cd1202 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa at gmail.com>
 Date: Sat, 1 Jun 2013 19:23:54 +0200
 Subject: [PATCH] ewk: include Element.h for hasTagName function
@@ -7,13 +7,28 @@ Subject: [PATCH] ewk: include Element.h for hasTagName function
   | ../../../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 at gmail.com>
 ---
- Source/WebKit/efl/ewk/ewk_frame.cpp | 1 +
- Source/WebKit/efl/ewk/ewk_view.cpp  | 1 +
- 2 files changed, 2 insertions(+)
+ 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
-- 
1.8.2.1




More information about the Openembedded-devel mailing list