summaryrefslogtreecommitdiffstats
path: root/package/webkit/webkit-fix-build-issue-with-old-gtk.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-12-22 09:04:25 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-22 23:46:38 +0100
commite4cce3732ce024cd0b7139ac3aeeaca9da6c7e0e (patch)
tree4d8b63051dadece3d76fe796847b50e21c3c80df /package/webkit/webkit-fix-build-issue-with-old-gtk.patch
parent84241e949901b2e014c92ad55303de7796820bc2 (diff)
downloadbuildroot-novena-e4cce3732ce024cd0b7139ac3aeeaca9da6c7e0e.tar.gz
buildroot-novena-e4cce3732ce024cd0b7139ac3aeeaca9da6c7e0e.zip
webkit: bump to version 1.2.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/webkit/webkit-fix-build-issue-with-old-gtk.patch')
-rw-r--r--package/webkit/webkit-fix-build-issue-with-old-gtk.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/webkit/webkit-fix-build-issue-with-old-gtk.patch b/package/webkit/webkit-fix-build-issue-with-old-gtk.patch
new file mode 100644
index 000000000..2b20bae6d
--- /dev/null
+++ b/package/webkit/webkit-fix-build-issue-with-old-gtk.patch
@@ -0,0 +1,22 @@
+The WebKit code conditionally calls getRootCoords() when the Gtk
+version is old (i.e < 2.17.3), but fails to declare the prototype of
+this function (which is implemented after its call site). This build
+failure has probably been missed due to the fact that not many people
+try to compile recent WebKit versions with old Gtk.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: webkit-1.2.3/WebKitTools/DumpRenderTree/gtk/EventSender.cpp
+===================================================================
+--- webkit-1.2.3.orig/WebKitTools/DumpRenderTree/gtk/EventSender.cpp 2010-07-19 20:42:27.000000000 +0200
++++ webkit-1.2.3/WebKitTools/DumpRenderTree/gtk/EventSender.cpp 2010-07-19 20:42:57.000000000 +0200
+@@ -86,6 +86,9 @@
+ static void sendOrQueueEvent(GdkEvent event);
+ static void dispatchEvent(GdkEvent event);
+ static guint getStateFlags();
++#if !GTK_CHECK_VERSION(2,17,3)
++static void getRootCoords(GtkWidget* view, int* rootX, int* rootY);
++#endif
+
+ static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
+ {