<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>156510</bug_id>
          
          <creation_ts>2016-04-12 11:50:24 -0700</creation_ts>
          <short_desc>webkitgtk-2.4.10 fails to build with --disable-video --disable-web-audio</short_desc>
          <delta_ts>2016-04-12 11:50:24 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pacho Ramos">pachoramos1</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>gnome</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1183156</commentid>
    <comment_count>0</comment_count>
    <who name="Pacho Ramos">pachoramos1</who>
    <bug_when>2016-04-12 11:50:24 -0700</bug_when>
    <thetext>As reported downstream, 
https://bugs.gentoo.org/show_bug.cgi?id=579350

it fails with:
Source/WebCore/platform/gtk/RenderThemeGtk2.cpp:567:60: error: &apos;toRenderBox&apos; 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 &quot;PaintInfo.h&quot;
 #include &quot;PlatformContextCairo.h&quot;
 #include &quot;RenderElement.h&quot;
+#include &quot;RenderBox.h&quot;
 #include &quot;TextDirection.h&quot;
 #include &quot;UserAgentStyleSheets.h&quot;
 #include &quot;WidgetRenderingContext.h&quot;


Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>