<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - khrplatform.h not installed if EGL is disabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77240">77240</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>khrplatform.h not installed if EGL is disabled
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eric.le.bihan.dev@free.fr
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=97136" name="attach_97136" title="Patch to fix missing khrplatform.h">attachment 97136</a> <a href="attachment.cgi?id=97136&action=edit" title="Patch to fix missing khrplatform.h">[details]</a></span>
Patch to fix missing khrplatform.h

KHR/khrplatform.h is required by the EGL, GLES and VG headers, but is
only installed if Mesa3d is compiled with EGL support. Configuring with

  $ ./configure --disable-egl --enable-gles1 --enable-gles2 ...

will result with an incomplete header set. When compiling Cairo with 
OpenGLESv2 support, the build will fail because of the missing header:

  /usr/include/GLES2/gl2platform.h:20:29: fatal error: KHR/khrplatform.h: No
such file or directory

The attached patch fixes the issue for me.</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>