Bug 156510 - webkitgtk-2.4.10 fails to build with --disable-video --disable-web-audio
Summary: webkitgtk-2.4.10 fails to build with --disable-video --disable-web-audio
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 11:50 PDT by Pacho Ramos
Modified: 2016-04-12 11:50 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos 2016-04-12 11:50:24 PDT
As reported downstream, 
https://bugs.gentoo.org/show_bug.cgi?id=579350

it fails with:
Source/WebCore/platform/gtk/RenderThemeGtk2.cpp:567:60: error: 'toRenderBox' was not declared in this scope

error. You have the full log at:
https://bugs.gentoo.org/attachment.cgi?id=429928

A reporter in downstream report has provided a patch that could probably be upstreamed :)

diff -purN a/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp b/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp
--- a/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp	2016-03-14 08:09:01.000000000 +0100
+++ b/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp	2016-04-10 19:43:00.215345381 +0200
@@ -40,6 +40,7 @@
 #include "PaintInfo.h"
 #include "PlatformContextCairo.h"
 #include "RenderElement.h"
+#include "RenderBox.h"
 #include "TextDirection.h"
 #include "UserAgentStyleSheets.h"
 #include "WidgetRenderingContext.h"


Thanks!