summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-11-13 08:23:32 +0000
committerJay Freeman <saurik@saurik.com>2008-11-13 08:23:32 +0000
commit6f765386ccf471bdf43cc32f728aba4a2545ee32 (patch)
tree3f032166a4feb7d52bf8fb98e2bb06ec7e115b53
parentb3e1cccb38a155c06b67866f03fe5484bd5405fe (diff)
Fixed a g++ 4.2 error in WebCore.
git-svn-id: http://svn.telesphoreo.org/trunk@500 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--tool/include.diff17
-rw-r--r--tool/patches/EventTargetNode.diff17
2 files changed, 34 insertions, 0 deletions
diff --git a/tool/include.diff b/tool/include.diff
index ec383404b..7e1f95361 100644
--- a/tool/include.diff
+++ b/tool/include.diff
@@ -122,6 +122,23 @@ index 64e4e8b..0f43f4c 100644
#include <CoreFoundation/CFXMLNode.h>
#include <CoreFoundation/CFXMLParser.h>
#ifndef CF_OPEN_SOURCE
+diff --git /usr/include/WebCore/EventTargetNode.h /usr/include/WebCore/EventTargetNode.h
+index f44e158..728b6d3 100644
+--- /usr/include/WebCore/EventTargetNode.h
++++ /usr/include/WebCore/EventTargetNode.h
+@@ -102,9 +102,9 @@ protected:
+ friend class EventTarget;
+ RegisteredEventListenerList* m_regdListeners;
+
+- HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseWheelEventListeners();
+- HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseMoveEventListeners();
+- HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseClickEventListeners();
++ HashMap<Node *, int> * WebThreadGetCurrentDOMMouseWheelEventListeners();
++ HashMap<Node *, int> * WebThreadGetCurrentDOMMouseMoveEventListeners();
++ HashMap<Node *, int> * WebThreadGetCurrentDOMMouseClickEventListeners();
+
+ private:
+ virtual void refEventTarget() { ref(); }
--- /usr/include/CarbonCore/FixMath.h 2008-02-19 12:14:55.000000000 +0000
+++ /usr/include/CarbonCore/FixMath.h 2008-03-27 09:50:49.000000000 +0000
@@ -90,7 +90,7 @@
diff --git a/tool/patches/EventTargetNode.diff b/tool/patches/EventTargetNode.diff
new file mode 100644
index 000000000..6afe7fc44
--- /dev/null
+++ b/tool/patches/EventTargetNode.diff
@@ -0,0 +1,17 @@
+diff --git /usr/include/WebCore/EventTargetNode.h /usr/include/WebCore/EventTargetNode.h
+index f44e158..728b6d3 100644
+--- /usr/include/WebCore/EventTargetNode.h
++++ /usr/include/WebCore/EventTargetNode.h
+@@ -102,9 +102,9 @@ protected:
+ friend class EventTarget;
+ RegisteredEventListenerList* m_regdListeners;
+
+- HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseWheelEventListeners();
+- HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseMoveEventListeners();
+- HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseClickEventListeners();
++ HashMap<Node *, int> * WebThreadGetCurrentDOMMouseWheelEventListeners();
++ HashMap<Node *, int> * WebThreadGetCurrentDOMMouseMoveEventListeners();
++ HashMap<Node *, int> * WebThreadGetCurrentDOMMouseClickEventListeners();
+
+ private:
+ virtual void refEventTarget() { ref(); }