• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/webkit/webkit-fix-build-issue-with-old-gtk.patch
Gustavo ZacariasGustavo Zacarias committed e4cce3732ce22 Dec 2010
Raw file
Source viewDiff to previous
 
1
The WebKit code conditionally calls getRootCoords() when the Gtk
2
version is old (i.e < 2.17.3), but fails to declare the prototype of
3
this function (which is implemented after its call site). This build
4
failure has probably been missed due to the fact that not many people
5
try to compile recent WebKit versions with old Gtk.
6
​
7
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
​
9
Index: webkit-1.2.3/WebKitTools/DumpRenderTree/gtk/EventSender.cpp
10
===================================================================
11
--- webkit-1.2.3.orig/WebKitTools/DumpRenderTree/gtk/EventSender.cpp    2010-07-19 20:42:27.000000000 +0200
12
+++ webkit-1.2.3/WebKitTools/DumpRenderTree/gtk/EventSender.cpp 2010-07-19 20:42:57.000000000 +0200
13
@@ -86,6 +86,9 @@
14
 static void sendOrQueueEvent(GdkEvent event);
15
 static void dispatchEvent(GdkEvent event);
16
 static guint getStateFlags();
17
+#if !GTK_CHECK_VERSION(2,17,3)
18
+static void getRootCoords(GtkWidget* view, int* rootX, int* rootY);
19
+#endif
20
 
21
 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
22
 {
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.