<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - webkitgtk-2.4.10 fails to build with --disable-video --disable-web-audio"
   href="https://bugs.webkit.org/show_bug.cgi?id=156510">156510</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>webkitgtk-2.4.10 fails to build with --disable-video --disable-web-audio
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pachoramos1&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org, gnome&#64;gentoo.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As reported downstream, 
<a href="https://bugs.gentoo.org/show_bug.cgi?id=579350">https://bugs.gentoo.org/show_bug.cgi?id=579350</a>

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:
<a href="https://bugs.gentoo.org/attachment.cgi?id=429928">https://bugs.gentoo.org/attachment.cgi?id=429928</a>

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
&#64;&#64; -40,6 +40,7 &#64;&#64;
 #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!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>